Push to multiple subscribers

This API can be used to send notification to multiple subscribers using subscriber IDs.

Definition

curl -X POST \ - H "Authentication-Token: {API_TOKEN}" \ - H "Content-Type: application/json" \ -d '{ "title" : "{NOTIFICATION_TITLE}", "message" : "{NOTIFICATION_MESSAGE}", "icon_url" : "{ICON_URL}", "banner_url" : "{BANNER_URL}", "landing_url" : "{LANDING_URL}", "actions" : [ { "text" : "{BUTTON1_TEXT}", "url" : "{BUTTON1_URL}" }, { "text" : "{BUTTON2_TEXT}", "url" : "{BUTTON1_URL}" }], "utm_source" : "{UTM_SOURCE}", "utm_medium" : "{UTM_MEDIUM}", "utm_campaign" : "{UTM_CAMPAIGN}", "ttl" : "{TTL_SECONDS}", "target" : { "type" : "subscriber_id", "value" : [ "{SUBSCRIBER_ID_1}", "{SUBSCRIBER_ID_2}" .... ] } }' "https://apis.izooto.com/v1/notifications"

Parameters

Sample Code


         
curl -X POST \ - H "Authentication-Token: {API_TOKEN}" \ - H "Content-Type: application/json" \ -d '{ "title" : "{NOTIFICATION_TITLE}", "message" : "{NOTIFICATION_MESSAGE}", "icon_url" : "{ICON_URL}", "banner_url" : "{BANNER_URL}", "landing_url" : "{LANDING_URL}", "actions" : [ { "text" : "{BUTTON1_TEXT}", "url" : "{BUTTON1_URL}" }, { "text" : "{BUTTON2_TEXT}", "url" : "{BUTTON1_URL}" }], "utm_source" : "{UTM_SOURCE}", "utm_medium" : "{UTM_MEDIUM}", "utm_campaign" : "{UTM_CAMPAIGN}", "ttl" : "{TTL_SECONDS}", "target" : { "type" : "subscriber_id", "value" : [ "Tom", "Harry" .... ] } }' "https://apis.izooto.com/v1/notifications"

Did this help answer your question?

thumbs up
thumbs down

Thanks for the feedback! 🙏🏽