Skip to Content
Xeonr Developer Docs
API Specificationxmb.api.v1.TraktService

Get Trakt connection

POST
/xmb.api.v1.TraktService/GetTraktConnection

Returns the caller's Trakt link, if any, with its settings and sync state.

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?stringDeprecated

Ignored. The link is per account; kept, deprecated, so clients built before 2026-09 keep working. New clients leave it empty.

Lengthlength <= 128
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.TraktService/GetTraktConnection" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "status": "TRAKT_CONNECTION_STATUS_CONNECTED",
  "connection": "map[connectedAt:2026-09-03T21:14:00Z lastSyncedAt:2026-10-22T09:00:00Z needsReauth:false settings:map[pullProgress:true pullWatched:true scrobble:true] traktUsername:luke_t unmatchedTitleCount:3]"
}