Skip to main content
POST
/
{YOUR_INITIATE_GAME_AUTH_ENDPOINT}
curl -X POST \
  'https://{YOUR_INITIATE_GAME_AUTH_ENDPOINT}' \
  -H 'Content-Type: application/json' \
  -H 'x-publisher-token: <x-publisher-token>' \
  -H 'signature: <signature>' \
  -d '{
    "device": "DESKTOP",
    "date": "2023-11-07T05:31:56Z"
  }'
{
  "deepLink": "https://my-awesome-game/2298/bv45d674?key=549bc5151667f6216629efe46vf7bacd2812d82298",
  "accessToken": "9ac8883227afa33412197b"
}
curl -X POST \
  'https://{YOUR_INITIATE_GAME_AUTH_ENDPOINT}' \
  -H 'Content-Type: application/json' \
  -H 'x-publisher-token: <x-publisher-token>' \
  -H 'signature: <signature>' \
  -d '{
    "device": "DESKTOP",
    "date": "2023-11-07T05:31:56Z"
  }'
{
  "deepLink": "https://my-awesome-game/2298/bv45d674?key=549bc5151667f6216629efe46vf7bacd2812d82298",
  "accessToken": "9ac8883227afa33412197b"
}

Headers

x-publisher-token
string

Publisher token.

signature
string

The signed payload.

Body

application/json
device
enum<string>

Device the player used to log in.

  • DESKTOP: PCs and laptops.
  • APPCHARGE: Mobile.
Available options:
DESKTOP,
APPCHARGE
Example:

"DESKTOP"

date
string<date-time>

Date in ISO 8601 format.

Example:

"2023-11-07T05:31:56Z"

Response

OK

Deeplink for redirecting the player to your game for authentication.

Example:

"https://my-awesome-game/2298/bv45d674?key=549bc5151667f6216629efe46vf7bacd2812d82298"

accessToken
string
required

Player access token.

Example:

"9ac8883227afa33412197b"

I