Push Notifications
Push notifications are remote notifications that an application provider can send to the users of their application, even when the application is not actively running on the user device. Catalyst provides you with an easy way to integrate push notifications into your Catalyst web and iOS applications.
Send Web Push Notifications
Description
This API is used to send text push notifications to the users of your web application for testing, after you enable push notifications for it. You can enable push notifications and also register client devices for receiving push notifications by implementing the web script mentioned in this Web SDK help page. You can then use this API to send push notifications.
You can pass the push notification message and a list of the recipients in your API request as shown in the sample request.
Request Details
Request URL
{api-domain}/baas/v1/project/{project_id}/project-user/notify
Request Headers
Content-Type: application/json
Optional Headers
CATALYST-ORG: {org_id}
Environment: Development
Scope
ZohoCatalyst.notifications.web.CUSTOM
Request JSON Properties
Response Details
The response returns the status of the sent notification as success or failed.
curl -X POST
https://api.catalyst.zoho.com/baas/v1/project/3000000002001/project-user/notify
-H “Content-Type: application/json”
-d ‘{
“recipients”:[“rhonda.wilkins@zylker.com”,“isabella.j@zylker.com”,“harry.sandman@zylker.com”],
“message”:“Attention, new employees! Update your profile information in Zylker team app”
}’
{
"status": "success",
"data": true
}
Yes
No
Send your feedback to us