POSTclient_secretMS Auth300 req/min per client
/client/ms-auth/session/validate
Validate an Axolite session token and read Minecraft profile data.
Auth & headers
Allowed roles: client-service
content-type: application/jsonParameters
| Name | Location | Type | Required | Description |
|---|
Request schema
| Field | Type | Required | Description |
|---|---|---|---|
| client_id | uuid | Yes | Client id. |
| client_secret | string | Yes | Client secret. |
| axolite_session_token | string | Yes | Token from authorized flow. |
Response schema
| Field | Type | Required | Description |
|---|---|---|---|
| valid | boolean | Yes | Session validity. |
| mc_uuid | string | No | Minecraft UUID when valid. |
| mc_username | string | No | Minecraft username when valid. |
Response preview
{
"valid": true,
"mc_uuid": "string",
"mc_username": "string"
}Examples
curl -X POST https://axolite-production.up.railway.app/client/ms-auth/session/validate -H 'content-type: application/json' -d '{"client_id":"<client_uuid>","client_secret":"<client_secret>","axolite_session_token":"<session_token>"}'Error variants
HTTP 401
Bad client credentials
Check client_id/client_secret pairing.
Was this page helpful?
Feedback is saved locally for now.