curl --request POST \
--url https://apix.us.amity.co/v1/notification \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"deviceId": "<string>",
"platform": "android",
"token": "<string>",
"userId": "<string>",
"provider": "<string>"
}'
{
"status": "<string>",
"data": {}
}
Register a device to a notification service provider.
curl --request POST \
--url https://apix.us.amity.co/v1/notification \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"deviceId": "<string>",
"platform": "android",
"token": "<string>",
"userId": "<string>",
"provider": "<string>"
}'
{
"status": "<string>",
"data": {}
}
Information required to register a device for push notifications
The body is of type object
.
Success response.
The response is of type object
.