Get Person For Self
GET/users/v1/person/me/info
Get information for the person on the access token.
Responses
- 200
- 403
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Person ID
Active player ID, if the person has an active player.
Email address
{
"person_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"active_player_id": 0,
"email": "string"
}
Error Codes:
-
auth_invalid_key_id- Invalid Authorization - Invalid Key ID in Access Token -
auth_invalid_version- Invalid Authorization - version -
auth_malformed_access- Invalid Authorization - malformed access token -
auth_not_jwt- Invalid Authorization -
auth_token_expired- Token is expired -
auth_token_format- Invalid Authorization - {} -
auth_token_invalid_claim- Token contained invalid claim value: {} -
auth_token_invalid_type- Invalid Authorization - Invalid Token Type -
auth_token_sig_invalid- Token Signature is invalid -
auth_token_unknown- Failed to parse token -
insufficient_permissions- Insufficient Permissions
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}