The EzyStream platform can allow approved partners to send notifications into their app, or customers apps.
You'll need to use our API token to validate your request.
Please note that we will create a new topic if the topic you specify is not already available/doesn't exist. Topics are visible to end users to manage what they receive notifications about, so please keep this list to a minimum/manageable amount.
REQUEST URL
https://vodapi.ezystream.com/v4/infoodle/notification
METHOD
POSTPOST
PARAMETERS
tp (length limit is 255)
Topic of the notificaitontt
tt (length limit is 255)
Title of the notificationms
ms (length limit max 4k)
Message of the notification
st
Send time, use Unix timestamp (UTC time, milliseconds from 1 Jan. 1970)
...
Channel Partner Id, need to be encrypted using AES-256-CSC. Please generate encrypt key and secret from EzyAdmin Configuration. After encryption, please use base64 to encode the result.
uid (optional)
user ID
EXAMPLE RESPONSE - SUCCESS
...
"error": 500,
"message": “System Error, the notification cannot be send!"
}
Info | ||
---|---|---|
| ||
Google has a 2kb payload restriction for the message body. We generally recommend that 2-3 sentences max as it's important to remember people are probably reading it from their notification screen on their OS. |
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...