Authentication & Permissions
API Tokens
To interact with WorkTraq via API, you'll need an API token:
- Navigate to Settings > API Keys in the web UI.
- Create a new token, and assign roles (read-only, full access, custom).
- Use this token in the
Authorization
header (Bearer <token>
).
Role-Based Access Control (RBAC)
- User Roles: Admin, Manager, Sales, etc.
- API Permissions: Restrict endpoints based on role or token scope.
- Custom Scopes: Define granular permissions for external integrations.