Send API
Domains
Environment
Domain
Staging
api-staging.blocto.app
Production
api.blocto.app
Header
APIs
The body params of all POST requests are in JSON format.
Send push notification
POST
https://api.blocto.app/notification/send
Send push notification to users by either user IDs or tags.
Request Body
Name
Type
Description
text
string
the message shown on the push notification
url
string
the URL to direct users to
tags
array
user tags to send push notification to
user_ids
array
user IDs to send push notification to
Tag users by user ID
GET
https://api.blocto.app/notification/tag
Set tag to a group of users for future push.
Request Body
Name
Type
Description
tag
string
user tag
user_ids
array
user IDs to set tag
Last updated