Skip to Content
Xeonr Developer Docs

Ask a device to show its claim code

POST
/xmb.api.v1.RemotePlaybackService/RequestClaim

Mints a short-lived code and tells the device to display it.

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

deviceUuid?string

The device found on the local network. Addressed by its advertised handle rather than by a code, because at this point there is no code — asking is what mints one.

Length1 <= length <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.RemotePlaybackService/RequestClaim" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "expiresAt": "2026-10-22T20:31:30Z",
  "client": "map[appVersion:2026.10.3 engine:avplayer installId:3f5a7c9e-1b3d-4f5a-8c7e-9b1d3f5a7c9e kind:CLIENT_KIND_APPLE_TV label:Living Room TV model:Apple TV 4K (3rd generation) osName:tvOS osVersion:18.1]"
}