Verifies that a user exists in the game and creates a user token.
required | object | ||||||||||||
|
User token successfully received.
{- "user": {
- "id": "public_id",
- "email": "public_email@test.com",
- "ip": "127.0.0.1",
- "phone": "+66-000-000-00-00",
- "name": "Public name",
- "country": "US"
}
}
{- "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
}