The tokens API lets you manage Personal Access Tokens (PATs) programmatically. PATs are the primary way to authenticate API and MCP requests from AI agents and scripts. The server stores only a hashed representation of each token — the raw value is returned exactly once at creation.Documentation Index
Fetch the complete documentation index at: https://docs.spote.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Token object (metadata)
All list and delete operations work with the token metadata object, which never includes the raw token value.UUID identifying the token. Use this to delete the token.
Human-readable name for this token, e.g.
"Claude Desktop".ISO 8601 date string of when the token was created.
ISO 8601 date string of the most recent authenticated request using this token.
null if the token has never been used.POST /api/settings/token
Create a new Personal Access Token. The raw token value is returned in this response only — it is not stored in plaintext and cannot be retrieved again.Request body
A descriptive name for this token. Use something that identifies the integration, e.g.
"Claude Desktop", "Cursor", or "nightly-export-script".Response
201 Created — returns the token metadata plus the rawtoken field.
UUID of the newly created token.
The label you provided.
ISO 8601 date string.
null for a newly created token.The raw token value. Starts with
spote_ followed by 32 hex characters. This field is only present in the creation response.GET /api/settings/token
List all Personal Access Tokens for your account. Token values are not included — only metadata.Response
200 OK — array of token metadata objects, without the rawtoken field.
DELETE /api/settings/token/:id
Delete a Personal Access Token. The token is invalidated immediately — any in-flight requests using this token will be rejected.Path parameters
The UUID of the token to delete. Retrieve this from
GET /api/settings/token.