0xDocs 0x.limo

Docs / REST API

Auth tickets

Generated reference for the 3 /v1/auth operations of the 0x REST API.

Generated from steamworks sg-backend/openapi.yaml at build 3a4a58e45c+dirty. Do not edit by hand.

Errors are {"error": "..."} with the status (errors); limits are in rate limits.

MethodPathAuthSummary
POST/v1/auth/ticketsBearer tokenIssue an Ed25519-signed session ticket {appid, identity}
POST/v1/auth/verifyBearer tokenVerify a ticket once
POST/v1/auth/verify_anyGame-server sessionGame servers:

#POST /v1/auth/tickets

Issue an Ed25519-signed session ticket {appid, identity} (requires a licence)

Auth: Bearer token: Authorization: Bearer <access token> (authentication).

StatusResponse
200OK
403No licence
bash
curl -s -X POST "https://api.0x.limo/v1/auth/tickets" \
  -H "Authorization: Bearer $ZEROX_TOKEN"

#POST /v1/auth/verify

Verify a ticket once (replay-protected): {ticket, appid, steamid?} → {ok, steamid, owner}

Auth: Bearer token: Authorization: Bearer <access token> (authentication).

StatusResponse
200OK
bash
curl -s -X POST "https://api.0x.limo/v1/auth/verify" \
  -H "Authorization: Bearer $ZEROX_TOKEN"

#POST /v1/auth/verify_any

Game servers: verify a ticket of unknown owner (deprecated connect flow)

Auth: Game-server session: Authorization: Bearer gs-... from game-server logon.

StatusResponse
200OK
bash
curl -s -X POST "https://api.0x.limo/v1/auth/verify_any" \
  -H "Authorization: Bearer $ZEROX_GS_TOKEN"