Generating an API Key
Follow these steps to create a new API key:- Navigate to API Keys: From the main Studio sidebar, click on “API Keys”.
- Know the permissions: Any member of your organization can create an API key. Only organization Admins can delete or revoke keys. If you need a key removed, ask an org admin.
-
Create the key: Click the “Create New Key” button. Enter a name for the key and click “Create”. Studio will generate a new API key.
Treat your API key like a password! It will only be shown once — copy it immediately and store it in a secure location. After creation, only the obfuscated value (e.g.,
sk_...3456) is displayed in Studio. -
Use the key in API calls: Once you have your key, send it directly in the
Authorizationheader:Your API key is sent directly as a bearer token.
Key Lifecycle
- Revocation: Revoked keys stop working within 60 seconds. Use this for compromised or unused keys.
- Deactivation: Temporarily disable a key without deleting it.
- Activation: Re-enable a previously deactivated key.

