Skip to content
Reference
/
RESTful API
/
Endpoints
/
/auth

/auth

Authenticate a game-session with a Datalink Account Token, the authentication endpoint should be called once to initiate a session.

Request Body

{
    "id": 1, // Datalink User ID: Number
    "token": "TOKEN", // Datalink Token: String
}

Response

{
    "code": 200, // IETF Status Code: Number
    "status": "success", // Request Status: String
    "token": "SESSION_TOKEN" // Datalink Session Token: String
}

Once the Session Token is retrieved, this will be the token used to enable access to the majority of Datalink RESTFul APIs.