Get Crm Token
This method gets the crm token of the player
Request (Get)
/gateway/crm/{version}/{brand_id}/token
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| version | path | string | true | The API version to use. |
| brand_id | path | int | true | The ID of the casino. If a brand_id is not provided, all message formats will be fetched from default storage. |
| x-auth-token | header | string | true | The token the player got from the Login response |
Response
Status 200
{
"status": "Success",
"data": {
"token": "e94187765acfe001e415107c68f6a6fd5e74b66042145fe28609787b2e881b67",
"expire_time": "2024-08-27T16:50:16+02:00"
}
}Status 400
{
"errMsg": "invalid input - invalid brand id"
}Status 401
{
"errMsg": "token header is missing"
}Status 500
{
"result": "internal server error"
}