Skip to main content
An API key is a secret bearer token that lets a script, integration, or service call the Terminus Hub API as your account, without a personal login. Account owners and admins create and revoke keys in the account menu under Settings, then API Keys. A key is shown only once, when it is created. API access is included on every plan.
Use an API key when you want to read Terminus Hub data programmatically: records, submissions, workspaces, and governance models. Keys are read-only, so an integration cannot create submissions or change data with one. To create submissions from an AI app such as Claude or ChatGPT, connect the app instead. For the full request format and error responses, see API authentication.

What a key looks like

Every key starts with the prefix thub_ followed by random characters:

How a key authenticates a request

Send the key in the Authorization header as a bearer token on every API request:
For example, listing records:
A request with no Authorization header, or with a key that has been revoked or is otherwise invalid, gets a 401 authentication error. The Last used column shows when each key last worked, so you can tell which keys are active.

How keys are scoped

A key is scoped to a single account, and to that account only. There are no per-key scopes, roles, or permissions, and no expiry date. Every key is read-only and can read everything the API exposes for its account.
To rotate a key, create a new one, switch your integration to it, then revoke the old one. Keys can reach only the Public API: listing and reading governance models, workspaces, and records, and listing submissions. A request to any other endpoint, including creating a submission or account administration (members, billing, the keys themselves), is refused with a 403 error. See API authentication for the resources a key can call.

Create a key

1

Open API Keys

In the account menu, choose Settings, then API Keys. The list shows each key’s Name, when it was Created, and when it was Last used (or Never).
2

Create the key

Click Create key, give it a Name that says where it will be used (for example CI pipeline), and click Create.
3

Copy it now

The API key created dialog shows the full key once. Click the copy button and store the key in a secrets manager or environment variable before you click Done. It cannot be shown again.

Revoke a key

On the API Keys page, click the revoke button on the key’s row and confirm with Revoke. Revoking takes effect immediately: any integration still using the key starts getting 401 errors, and the key cannot be restored. There is no pause or disable switch. If you are not an owner or admin, ask one to create a key for you.

Keeping a key safe

A key carries account-level access, so treat it like a password.

Store it outside source code

Keep keys in environment variables or a secrets manager, never hardcoded in code or committed to a repository.

Rotate or revoke

Rotate keys after offboarding someone. If a key may have leaked, revoke it right away and issue a replacement.

One key per integration

Give each integration or environment its own key, so the Last used date tells you which one is active and you can revoke one without breaking the rest.

API authentication

The bearer-token header and error responses in detail.

API overview

What the Terminus Hub API offers and how requests are shaped.

Pagination and errors

Response envelopes, paging, and the structured error format.

Team members

Who can manage the account, including creating keys.