POSTclient_secretMS Auth300 req/min per client
/client/ms-auth/poll
Client polls current auth request status.
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. |
| auth_request_id | uuid | Yes | Request id from start endpoint. |
Response schema
| Field | Type | Required | Description |
|---|---|---|---|
| status | string | Yes | pending | authenticated | authorized | denied | expired |
| axolite_session_token | string | No | Present when authorized. |
| mc_username | string | No | Minecraft username. |
Response preview
{
"status": "string",
"axolite_session_token": "string",
"mc_username": "string"
}Examples
curl -X POST https://axolite-production.up.railway.app/client/ms-auth/poll -H 'content-type: application/json' -d '{"client_id":"<client_uuid>","client_secret":"<client_secret>","auth_request_id":"<request_uuid>"}'Error variants
HTTP 404
Unknown request
Use the latest auth_request_id from /start.
Was this page helpful?
Feedback is saved locally for now.