API Endpoints
SMS
Possible values: ca91d88c-21c1-48da-95ac-8b57fdc62869
en
-2800
HN
Successful 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 JWT
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
{"statusCode":200,"data":{"notificationChannels":[{"channelType":"PUSH","isActive":true,"text":"Push Notification"}]}}
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 JWT
Accept: */*
{
"statusCode": 200,
"data": {
"notificationChannels": [
{
"channelType": "PUSH",
"isActive": true,
"text": "Push Notification"
}
]
}
}
SMS
Possible values: 1.0.1
Successful 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 JWT
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"channelType": "SMS",
"gameVersion": "1.0.1"
}
{
"statusCode": 201
}
[email protected]
es
-2800
1.0.1
HN
Successful Operation
{"statusCode":200}
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 JWT
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
{"statusCode":200}
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 JWT
Accept: */*
{
"statusCode": 200
}
Last updated
Was this helpful?