Docs / API
Authentication
Make an API token, choose its scopes and send it with each request.
Make a token
In Settings › Developer › API tokens, choose New token.
- Name it after what will use it, such as "HR sync".
- Pick when it expires. There is no "never".
- Tick its scopes (see below). You can only tick what you may do yourself.
- Optionally, limit the IP addresses it may be used from, as single addresses or CIDR ranges.
The token is shown once, and starts with agrc_api_. Copy it into your secret store: Arctic GRC keeps only a fingerprint of it.
Send it
curl https://<your Arctic GRC address>/api/v1/controls \
-H "Authorization: Bearer $ARCTIC_GRC_TOKEN"
Scopes
Each module has a read scope, <module>.view: frameworks, controls, tests, documents, policies, risk, issues, audits, vendors, assets, privacy, trust, training, people, playbook, integrations, ai, reports, calendar and tasks.
These change scopes have endpoints today:
| Scope | Lets the token |
|---|---|
documents.edit | Add and edit evidence documents, add versions, link them to controls |
issues.edit | Log and edit issues |
vendors.edit | Add and edit vendors |
assets.edit | Add and edit assets |
people.edit | Add and edit people (no login, no invitation) |
integrations.push | Send a custom integration's results |
A token never holds company administration: members, roles, settings, billing or developer settings.
A token stops working when
- it expires, or someone revokes it in Settings › Developer;
- the person it is bound to leaves, or loses a permission one of its scopes needs (it answers
403 token_not_working, and the page shows why); - your company's plan lapses (reads still work, and changes answer
403 plan_lapsed).
Make a new token before the old one expires. Settings › Developer marks a token that expires within 30 days.