POST
/
v1
/
notification
register a device to get push notification
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": {}
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Information required to register a device for push notifications

The body is of type object.

Response

200
application/json

Success response.

The response is of type object.