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

Update Trakt settings

POST
/xmb.api.v1.TraktService/UpdateTraktSettings

Replaces the scrobble and sync settings on the caller's Trakt link.

Required scopes: xmb:user:write

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
settings*

The whole set, replaced. Three switches on one panel are one fact; a partial update would mean modelling which of three booleans was "absent".

[key: string]?never

Response Body

application/json

application/json

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