Send to Particular Segment

This endpoint is used to send a notification to subscribers of a particular segment. segmentID is required. The title, message and url of the notification have to be sent as POST parameters to the API endpoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Body Parameter

int64

Unique segment id

string

Notification Name

string

Maximum character limit for the title must be 70 characters

string

Maximum character limit for the push notification message should be 130 characters

string

0 -> Android Activity, 1 -> Url, 2 -> Package Name, 3 -> Share, 4 -> Call

string

Target users while sending push notifications on the basis of their source and location (0 -> Navigate in App , 1 -> Navigate to Webpage , 2 -> Navigate to Third party App, 3 -> Share, 4 -> Call).

int64

Schedule Date (2020-01-13)

int64

Schedule Time (12:16:00)

int64

Time Zone ( default 0 )

int64

1 -> standard (not supported), 2 -> rich (image_url)

string

Maximum Length of the call-to-action button must be 12 characters. Works only for chrome subscribers

string

0 -> Android Activity, 1 -> Url, 2 -> Package Name, 3 -> Share, 4 -> Call

string

0 -> Navigate in App , 1 -> Navigate to Webpage , 2 -> Navigate to Third party App, 3 -> Share, 4 -> Call

string

Allowed only in chrome version 48 and above

string

0 -> Android Activity, 1 -> Url, 2 -> Package Name, 3 -> Share, 4 -> Call

string

0 -> Navigate in App , 1 -> Navigate to Webpage , 2 -> Navigate to Third party App, 3 -> Share, 4 -> Call

json

Set life time of the message in JSON format. ex - { 'days':10, 'hours':0, 'minutes':1 }

Headers
integer
required

Brand id of notifyvisitors account

string
required

Api key of notifyvisitors

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json