Communication: Push Notification

Push send

{action} = push-send

Required params

key:

App Mobactions Key

campaign-name:

the title of the push campaign.

message:

the message of the push campaign.

Optional params 

push-tag:

a tag to open the app in an specific point if push opened.

rich-push-url:

an URL to open if push opened.

scheduled:

datetime to launch the push campaign. “yyyy-mm-dd hh:mm:ss”

segment-id:

the id of the segment who will receive the notifications.

user-ids:

the user ids who will receive the notification in coma separated format “id1,id2,id3,etc.”.

customer-ids:

JSON array with the customer ids who will receive the notifications. [“cusomerId1″,”cusomerId2″,”cusomerId3″]

Response

201:

scheduled OK

50X:

error. Check code at the end of documentation

Example

You can use the attached example for testing.

Request:

  • url: https://in.emma.io/API/push-send
  • key=MobActionsKey
  • campaign-name="test1"
  • message="testing push from api"
  • scheduled="2015-01-05 00:00:00"

Response: 

  • 201
Have more questions? Submit a request

0 Comments

Article is closed for comments.