Token Types
Personal Tokens
Tied to a specific user. When the user is removed from the org, their personal tokens are automatically revoked. Use these for:- Local scripts and CLI tools
- Personal API exploration
- Development and testing
Service Tokens
Org-scoped, not tied to any individual. Survive member departures. Use these for:- CI/CD pipeline integration
- Automated alerting and reporting
- Third-party tool integration
Deploy Tokens
Issued during device enrollment. Each agent instance gets its own deploy token. Use these for:- Agent-to-cloud event streaming
- Heartbeat and status reporting
- Policy and configuration pulls
Scopes
Every token carries one or more scopes that limit what it can do:Scope Combinations
Common patterns:Lifecycle
1
Create
An admin or owner creates a token via the dashboard or API. The raw token is returned exactly once.
2
Store securely
The caller stores the raw token in a secrets manager, environment variable, or secure vault. Quint stores only the SHA-256 hash.
3
Use
Include the token in the
Authorization header as a Bearer token. The API hashes the incoming token and looks up the hash.4
Rotate
Create a new token with the same scopes, update your clients, then revoke the old token. There’s no in-place rotation — always create-then-revoke.
5
Revoke
Delete the token via dashboard or API. Takes effect immediately. Any in-flight request using the token will fail on the next call.
Security Model
Storage
Authentication Flow
Token Metadata
Each token record stores:API Usage
Create a token:The
token field in the response is the raw token. Save it immediately. It will never appear again in any API response.