Documentation

GraphQL API: Playback

Replay a track

Tracks in a station/autoplay source can be replayed. This is limited to Plus and Premium users and to the track rights.

Use trackToken to specify which previously played track should be replayed.

Mutation

mutation {
  playback {
    replay (deviceUuid: "deviceXYZ", sourceId: "AU:16716:120399", index: 0, elapsedTime: 200,
    trackToken: "PxdNJwZmAb4VXZfWff-Ffhcdbvv-g-cHwetuxJW68AeKtkBLQyvJEXg") {
       status
    }
  }
}
GraphQL

Response

{
  "data": {
    "playback": {
      "replay": {
        "status": "OK",
      }
    }
  }
}
JSON