AxAxolite Docs
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/json

Parameters

NameLocationTypeRequiredDescription

Request schema

FieldTypeRequiredDescription
client_iduuidYesClient id.
client_secretstringYesClient secret.
axolite_session_tokenstringYesToken from authorized flow.

Response schema

FieldTypeRequiredDescription
validbooleanYesSession validity.
mc_uuidstringNoMinecraft UUID when valid.
mc_usernamestringNoMinecraft 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.