Menu

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.

  1. Name it after what will use it, such as "HR sync".
  2. Pick when it expires. There is no "never".
  3. Tick its scopes (see below). You can only tick what you may do yourself.
  4. 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:

ScopeLets the token
documents.editAdd and edit evidence documents, add versions, link them to controls
issues.editLog and edit issues
vendors.editAdd and edit vendors
assets.editAdd and edit assets
people.editAdd and edit people (no login, no invitation)
integrations.pushSend 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.