Authenticating The Request
No authentication is required for this request type.
Request Parameters
- pollToken guid Required
- The sign in poll token returned on the original sign in request.
Success Response
Successful responses always return a HTTP 200 status code.
{
"success": true,
"session": { ... },
"signInErrorMessage": "The user cancelled the sign in request.",
"signInFailed": true,
"formattingCulture": "en-us"
}
Response Properties
- success bool
- If the request was successfull or not.
- session Session
- The new session object if the sign in was succesful.
- signInErrorMessage string
- Details about why the sign in failed if it failed or was abandoned.
- signInFailed bool
- If true, indicates the sign in failed, timed out or was abandoned.
- formattingCulture string
- If some return values are culture specific, this property indicates what culture the values have been rendered as.
Failure Response
Unsuccessful responses always return HTTP 4xx status codes.
{
"success": false,
"errorMessage": "Your request failed due to...",
"helpURL": "https://www.construct.net/en/game-services/manuals/game-services/authentication/api-end-points/players/sign-in-poll",
"shouldRetry": false
}
Response Properties
- success bool
- If the request was successfull or not.
- errorMessage string
- An error message with more detailed information on why the request failed.
- helpURL url (string)
- A link to documentation which should provide help with the error.
- shouldRetry bool
- Should the client wait a short period of time and retry the request. Usually this is false, but returns true if the request failed due to rate limiting.