API Endpoints
SMSPossible values: ca91d88c-21c1-48da-95ac-8b57fdc62869en-2800HNSuccessful Operation
{"statusCode":201}This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
An error occurred while processing the information
Internal server error
POST /communications/notification-channels/device-registration HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 117
{
"channel": "SMS",
"playerId": "ca91d88c-21c1-48da-95ac-8b57fdc62869",
"language": "en",
"timezone": "-2800",
"country": "HN"
}{
"statusCode": 201
}Successful Operation
Failed because the authentication token is not sent or it has already expired.
Internal server error
GET /communications/notification-channels HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"statusCode": 200,
"data": {
"notificationChannels": [
{
"channelType": "PUSH",
"isActive": true,
"text": "Push Notification"
}
]
}
}SMSPossible values: 1.0.1Successful Operation
{"statusCode":201}This error can occur because of an invalid value or because a value is required.
Failed because the authentication token is not sent or it has already expired.
An error occurred while processing the information
Internal server error
POST /communications/notification-channels HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"channelType": "SMS",
"gameVersion": "1.0.1"
}{
"statusCode": 201
}[email protected]es-28001.0.1HNSuccessful Operation
Failed because the authentication token is not sent or it has already expired.
Internal server error
PUT /communications/notification-channels/{channel} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 121
{
"identifier": "[email protected]",
"language": "es",
"timezone": "-2800",
"gameVersion": "1.0.1",
"tags": {},
"country": "HN"
}{
"statusCode": 200
}Successful Operation
Failed because the authentication token is not sent or it has already expired.
An error occurred while processing the information
Internal server error
DELETE /communications/notification-channels/{channel} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"statusCode": 200
}Last updated
Was this helpful?