Skip to Content
Xeonr Developer Docs

Offer an unclaimed device

POST
/xmb.api.v1.RemotePlaybackService/AttachUnclaimedReceiver

Registers a device that has no sign-in and returns the code it should display.

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

client*

Who this is, for the row a person picks in the claim list and for the label once it has one. AUTHORIZES NOTHING, exactly as on AttachReceiver.

capabilities*

What the caller measured about itself.

MEASURED, not declared. On the web this comes from MediaSource.isTypeSupported, HTMLMediaElement.canPlayType and navigator.mediaCapabilities.decodingInfo run over a fixed matrix once per document; on a native client it is what the platform decoder reports. A client that sends what it wishes were true gets a stream it cannot decode, which is the correct incentive.

UNKNOWN IS PERMISSIVE, everywhere below. Any field left at zero or empty skips its gate rather than failing it. An over-eager gate fails silently and totally — the server refuses a file that would have played — while an under-eager one fails visibly, in the player, where there is something to say about it.

The structured fields cover what the server routes decisions on. Everything else the platform said travels verbatim in codec_strings, the same division ProbeService draws with raw_ffprobe_json and for the same reason: this schema is not an attempt to model every decoder, and a field is promoted up here once it has earned a place.

features?

What a receiver can be told to do beyond load, transport and track selection.

Asked rather than assumed because the answer differs by platform for reasons that are nobody's bug: tvOS has no API to set system volume — the television's own remote owns it — while a Chromecast receiver and a browser both do. A sender draws the control it is told exists rather than drawing one that silently does nothing.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.RemotePlaybackService/AttachUnclaimedReceiver" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{    "client": "map[appVersion:2026.10.3 engine:avplayer installId:3f5a7c9e-1b3d-4f5a-8c7e-9b1d3f5a7c9e kind:CLIENT_KIND_APPLE_TV model:Apple TV 4K (3rd generation) osName:tvOS osVersion:18.1]",    "capabilities": "map[audio:[map[codec:eac3 maxChannels:6 passthrough:true]] containers:[mp4 mov mpegts] hdrFormats:[hdr10 dolby-vision] maxBitrateBps:80000000 maxHeight:2160 maxWidth:3840 supportsHls:true video:[map[codec:hevc maxBitDepth:10 maxLevel:5.1 profiles:[main10]]]]"  }'
{
  "deviceUuid": "b5d7f9a1-3c5e-4b7d-9f1a-3c5e7b9d1f3a",
  "claimCode": "K7QM-4XRT",
  "claimSecret": "q7Yk2mR9vXc4pL8sT1wN6bZ3hF5jD0aG",
  "pollIntervalMs": "2000",
  "expiresAt": "2026-10-22T20:40:00Z"
}