The Workspace API uses Bearer token authentication. Include your token in theDocumentation Index
Fetch the complete documentation index at: https://docs.provisionr.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorization header of every request.
Token Types
Provisionr supports several token types depending on your use case.| Token Type | Use Case | Expiration |
|---|---|---|
| CLI Access Token | Interactive CLI usage | 60 minutes |
| CLI Refresh Token | Refreshing CLI access tokens | 90 days |
| Service Account Token | Automated workflows and CI/CD | Configurable |
| API Token | Direct API access | Configurable |
Obtaining a Token
- Service Account
- CLI Token
Service accounts are designed for automated workflows and integrations. Create a service account and generate a token from the Workspace UI.
Create a Service Account
Create a new service account with the appropriate role and permissions for your use case.
Testing Your Token
Use the authentication test endpoint to verify your token is valid.Unauthenticated Endpoints
Most endpoints require authentication. The following endpoints are accessible without a token:| Endpoint | Description |
|---|---|
GET /auth/ping | Test API connectivity |
GET /auth/version | Get environment and version data |