- API reference
- Get started
Start a sandbox docs session
For "Try it" without signing in. The token lives 1 hour and acts as the demo account, 30 calls per minute. 30 sessions per hour per IP.
Without a body the token reaches the operations marked x-docs.sandbox: "catalog": the catalog reads and its own session routes, with the demo and sample users only.
With authModelUUID the token is bound to the account that the visitor connected through the hosted sign-in of the demo account (authModel.uuid of data64). It then also reaches every operation marked x-docs.sandbox: "connectedUser", for that connected user only: another uuid answers 404. The sign-in must have succeeded, must be at most 15 minutes old, and opens one session only. Erasing the user, refreshAuthToken, transfers and transfer sessions stay refused.
Request body
application/json
authModel.uuid of a hosted sign-in of the demo account, at most 15 minutes old. Used once.Response
Authorization: DocsSession <token>.null without authModelUUID.integrationUserUUID of the account.spotify.{
"token": "string",
"expiresAt": "2026-10-16T09:41:07.000Z",
"account": {
"name": "Acme Music",
"slug": "acme",
"clientId": "5b0c6f0e-2c8a-4d0e-9a51-7e3f1c2d9b44",
"returnUrls": [
"string"
],
"isEvaluationAccount": true,
"isTransferServiceEnabled": true,
"enabledIntegrations": [
"spotify"
]
},
"connectedUser": {
"uuid": "5b0c6f0e-2c8a-4d0e-9a51-7e3f1c2d9b44",
"integrationType": "string",
"name": "string",
"imageUrl": "string"
}
}
Errors
invalidAuthModel: the sign-in is unknown, failed, of another account, older than 15 minutes, has no connected user, or already opened a session. Connect the account again.
Too many sandbox sessions from this IP.