Overview
API keys use scope-based permissions to control access to different resources and operations. Request only the scopes your integration needs following the principle of least privilege.Available Scopes
| Scope | Description | Endpoints |
|---|---|---|
vehicles:read | Read vehicle data | GET /vehicles, GET /vehicles/{id} |
vehicles:write | Create and update vehicles | POST /vehicles, PUT /vehicles/{id} |
inspections:read | Read inspection templates and results | GET /inspection-templates, GET /inspections |
inspections:write | Submit new inspections | POST /inspections |
Requesting Scopes
When requesting an API key from your administrator, specify which scopes you need:Scopes are set during API key creation and cannot be changed. Create a new key to modify scopes.
Scope Validation
The API validates scopes on every request. If your key lacks required permissions, you’ll receive a403 Forbidden error:
Read vs Write Scopes
Read Scopes
Read Scopes
Read scopes allow retrieving data without modification:
- Safe for analytics and reporting
- Recommended for read-only integrations
- Dashboard displays
- Reporting tools
- Data synchronization (one-way)
Write Scopes
Write Scopes
Write scopes allow creating and modifying data:
- Requires additional validation
- Audit logged
- Inspection submission from devices
- Vehicle data updates from TMS
- Automated workflows
Scope Best Practices
Minimum Scopes
Request only the scopes your integration actually needs
Separate Keys
Use different API keys for read and write operations
Service-Specific
Create separate keys for different services or environments
Regular Audits
Review and revoke unused API keys regularly
Checking Your Scopes
You can check which scopes your API key has by examining the error response when accessing a forbidden endpoint:inspections:write:
Scope Hierarchy
Some scopes imply others:Common Scope Combinations
Read-Only Integration
Inspection Submission
Full Fleet Management
Future Scopes
Planned scopes for future releases:| Scope | Status | Description |
|---|---|---|
reports:read | Planned | Access custom reports |
webhooks:manage | Planned | Configure webhooks |
users:read | Under Review | Read user data |
analytics:read | Under Review | Access analytics data |
Subscribe to our changelog to be notified when new scopes are available.