Authentication
All Revision API requests require authentication using an API key with access to the workspaces.
API keys are user-specific, and grant access to workspaces with the same permissions as the user has.
- A workspace member with the Reader role may only use GET.
- A workspace Editor may use POST/PUT/PATCH.
Finding Your API Key
To get an API key:
- Visit your Account settings from the profile dropdown in the top right
- Find the API Keys section
- Create a new key, and give it a name (e.g. "CI/CD Pipeline")
- Copy your newly created key
Using Your API Key
Include your API key in requests using the Authorization header:
Authorization: Bearer your-api-key-hereExample Request
curl -X GET \
https://your-workspace.revision.app/api/external/components \
-H "Authorization: Bearer your-api-key-here" \
-H "Content-Type: application/json"All requests must be made over HTTPS.
Revoking Your API Key
Press the deletion button next to the API key on your account page, and confirm the action.
Revocations are instant and permanent; you'll have to create a new one should you change your mind.
API Reference
Complete API documentation for integrating with Revision. Manage components, attributes, tags, and component types programmatically.
Manage Components
Complete API reference for managing components in Revision. Learn to fetch, create, and update architecture components with REST endpoints.