Skip to main content
Admins manage API keys at Integrations > API > API keys in Studio.
The API Keys page in Studio

The API Keys page in Studio

Create an API key

1

Name the key and set its access

Select Create API key, give the key a descriptive name, and set its access to each API: No access, Read, or Read & write. A key requires access to at least one API.
Create API key dialog

Create API key dialog

2

Save the secret

The key secret, in the format sk_*, appears only once. Store it somewhere safe, such as a password manager.
A key’s permissions can’t be changed after it’s created. To change access, create a new key. Keys don’t expire by default. To set an expiration, select Edit expiration from the key’s menu.

Check a key’s permissions

You can check a key’s community and permissions before you call other endpoints:
  • v1: GET /v1/api_key requires no permission and returns the key’s name, masked value, permissions, and community name.
  • v0: GET /admin/v0/api_key/me returns the key’s type, community, and granted permissions.
If a key is missing a permission an endpoint requires, the API returns 403. The error code is insufficient_scope in v1, and INSUFFICIENT_SCOPE in v0, where a hint lists the required permission and the permissions the key has. See the v1 API reference or the v0 API reference for full endpoint details.

Legacy API keys

Legacy API keys in the tk-* format are deprecated and will be removed in a future release. Create new keys and update your integrations to use them.