Skip to Content
Xeonr Developer Docs

Mint a receiver credential

POST
/xmb.api.v1.RemotePlaybackService/MintReceiverCredential

Issues a short-lived, narrowly-scoped credential for a receiver that has no sign-in of its own.

Required scopes: xmb:user:read

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

serverSlug?string

Optional, and unused by the credential itself: the credential is scoped to the ACCOUNT and carries no server, because control is authorized by account and which server an episode lives on is the load directive's business. Accepted for compatibility with callers written when this was required; a slug that is given is membership-checked and nothing more.

Lengthlength <= 128
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.RemotePlaybackService/MintReceiverCredential" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "credential": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIzIn0.c2lnbmF0dXJlLXBsYWNlaG9sZGVy",
  "expiresAt": "2026-10-22T21:30:00Z",
  "renewAfter": "2026-10-22T21:15:00Z"
}