How Scopes Work
Each API key has a set of assigned scopes that determine which endpoints and operations it can access. When you make a request, the API checks whether your key has the required scope for that endpoint. If the key lacks the required scope, the API returns a403 Forbidden response.
Scope Format
Scopes follow the formataction:resource:
- action — The operation type:
view,create,update, ordelete - resource — The resource being accessed, such as
user,rank, orassignmentrecord
view:user— Read user datacreate:rank— Create new ranksupdate:assignmentrecord— Modify assignment recordsdelete:award— Remove awards
Configuring Scopes
When creating an API key, you can either grant all scopes or select specific ones:- Navigate to Integrations > API Keys.
- Select New API key.
- Choose one of the following:
- All scopes — Grants full access to all resources and operations
- Specific scopes — Select only the scopes your integration needs
Important: Follow the principle of least privilege. Only grant the scopes your integration actually requires.
Available Scopes
- Personnel
- Organization
- Records
- Awards & Qualifications
- Forms
- Calendars & Events
- Content
- Tasks
- Other
- System
| Scope | Description |
|---|---|
view:user | View user profiles |
create:user | Create new users |
update:user | Update user information |
delete:user | Delete users |
Authorization Errors
If your API key lacks the required scope, the API returns a403 Forbidden response:
- Check which scope the endpoint requires (refer to the endpoint documentation)
- Navigate to Integrations > API Keys
- Create a new API key with the required scope, or use a key that already has it
Note: You cannot modify scopes on an existing API key. Create a new key with the correct scopes instead.
Best Practices
- Use specific scopes — Avoid granting all scopes unless necessary
- Create separate keys — Use different API keys for different integrations
- Review regularly — Audit your API keys and revoke unused ones
- Document your keys — Use descriptive names to track what each key is used for