Skip to main content

API keys and scopes

An API key lets your system call the Send AI API, and its scopes decide what it may do.

Creating a key​

Create API key under Integration › API Keys asks for a name and the Permission scopes of the key. The secret key is shown once, under "Your secret key", so copy it and store it safely: Send AI keeps only a hash of it. Keys do not expire.

Linking a key to a project​

A key only works in the projects it is linked to. Add API key under Inbox › Import in a project links it; Live and Test are linked separately. One key can be linked to many projects. See Import.

Scopes​

Scopes are the permissions of a key, grouped as Uploads and Tasks:

ScopeAllows
Uploads › CreateCreate an upload
Uploads › ReadGet an upload
Uploads › EditMove an upload
Tasks › ReadGet a task and its tree
Tasks › EditComplete, discard, report, unlock, approve and disapprove a task

Uploads › Delete and the Documents (legacy) scopes are not used by the current API. Give a key only the scopes it needs: a key that only sends files needs Uploads › Create.

Managing keys​

The list shows each key with the last four characters of its secret, its status, the projects it is linked to and when it was last used. The row menu has:

  • Edit: Edit changes the name and the scopes of the key.
  • Disable and Enable: A disabled key is refused until you enable it again.
  • Delete: Delete removes the key for good.

A key that may have leaked should be deleted, and a new one created in its place.