Generate Game Link
Merchant to send unique identifier only when create unique game link
API Endpoint
POST https://api.thegamify.club/api/game/sso
HEADERS
Content-Type: application/json
Authorization: [Gamify Token]
Request Body
| Property | Type | Description |
|---|---|---|
playerId | String | Unique identifier |
initialSpin | Number | Optional |
Example
POST /api/game/sso
curl https://api.thegamify.club/api/game/sso \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: 656561c45088c7df0d07f779:317ed89517d075943b2907efca4476c7a824faf74429c5c267d3248737116ef4" \
-d '{"playerId": "groot-0002"}'
RESPONSE
{
"link": "https://games.thegamify.club/spinthewheel/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwbGF5ZXJJZCI6IjY1NjViN2Q0YWIzOTIwNmRkNTM0ZjQ0MyIsImdhbWVJZCI6IjY1NjU2MWM0NTA4OGM3ZGYwZDA3Zjc3OSIsImlhdCI6MTcwMzIzNDc2MX0.XBbKf5_3AuoEkPZZ2a0jylzTOIdTpLXyY4j4hOPEyVw",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwbGF5ZXJJZCI6IjY1NjViN2Q0YWIzOTIwNmRkNTM0ZjQ0MyIsImdhbWVJZCI6IjY1NjU2MWM0NTA4OGM3ZGYwZDA3Zjc3OSIsImlhdCI6MTcwMzIzNDc2MX0.XBbKf5_3AuoEkPZZ2a0jylzTOIdTpLXyY4j4hOPEyVw"
}
Read more about Gamify Token.