API keys
Create a secret API key with the scopes your integration needs, then edit, rotate or revoke it on Settings → Developers → API.
API v2 and API v1 accept secret keys, which start with cev_sk_. You create and manage them on Settings → Developers → API. Create one key per integration, with only the scopes it needs.
Create an API key
Any team member can create a key.
- Navigate to Settings → Developers → API and click Create key.
- Enter an API key name that says what uses the key, such as
Shopify order sync. - Optional: set Expiration to 30 days, 90 days or 1 year. The default is Never. An expired key stops authenticating.
- Under Permissions, select Full access, Read only or Custom. With Custom, set each resource to None, Read or Write.
- Click Create key.
- Copy the key and store it in your secret manager or an environment variable. Cevoid shows it only once. Enable I have saved this key and click Done.
| Permission | Scope | Access |
|---|---|---|
| Full access | * | Read and write every resource, including resources added later |
| Read only | *:read | Read every resource, including resources added later |
| Custom | One scope per resource | Only the resources you set to Read or Write. New resources stay off until you add them |
Then send the key as a bearer token and verify it with GET /v2/me.
Manage API keys
Settings → Developers → API lists every key with its scopes, owner, creation date, last use and expiry. Expires soon marks a key that expires within 7 days. Only the key's owner and workspace admins can change a key. Expired and revoked keys cannot be edited or rotated.
Edit an API key
- Click the key, or click Edit in its ... menu.
- Change API key name or Permissions.
- Click Save changes.
Changes apply from the next request. The secret stays the same.
Rotate an API key
Rotating creates a new secret with the same name, permissions, owner and expiry length. The old secret keeps working for the grace period you select, so you can deploy the new one first.
- In the key's ... menu, click Rotate.
- Under Old key stops working, select Immediately, In 1 hour, In 24 hours (the default) or In 7 days.
- Click Rotate key.
- Copy the new key, enable I have saved this key and click Done.
- Deploy the new key everywhere the old one is used before the old one stops working.
A key that has already been rotated cannot be rotated again.
Revoke an API key
In the key's ... menu, click Revoke, then click Revoke again to confirm. Applications that use the key lose access at once. This cannot be undone.