Push Notifications

Send Push Notifications

You can send push notification on a per-user basis using the request below:

Request

POST /admin/sns_app/push

Top

Request Parameters

Parameter Example Details
push[user_id_or_email] 1234 or someemail@somedomain.com Required. The id or email address of the user that you are trying to send a push notification to.
push[alert] Hello Required. Max 512 characters. This is the notification text that is displayed to the user on the phone.
push[resource] https://some_url Required.
Examples:

  • https://#{subdomain.zerista.com}/message notifies the apps to sync messages upon receiving the push notification.
  • https://google.com: Opens Google.com inside a webview in the app