Authorization header. A key belongs to one workspace, holds a list of scopes that say what it may do, and works until it expires or is revoked. Workspace owners and admins create read-only keys themselves. Our support team adds write scopes on request.
In SmartAlex: Settings → Webhooks & API, then Create key, Open or a key’s name in the API keys panel. That opens the Webhooks & API page (/developers) on its API keys tab. You need to be a workspace owner or admin, and the workspace needs the Power Tools add-on.
How do I send the key?
Send it as a bearer token on every request:sa_live_. They are shown once, when you create them. SmartAlex keeps only a fingerprint, so a lost key cannot be shown again. Make a new one.
How does SmartAlex check a key?
The API runs these checks in order, stopping at the first failure, and this diagram shows each check and its error.What can each scope do?
Each endpoint needs one scope, named on its page, and the Who adds it column says who can put it on a key.GET /me/tools shows what a key can do at any time.
How do I get a scope that support adds?
Email support@getsmartalex.com from your workspace with the scope and what you will use it for. For example, ask forcalls:read to read each call’s summary and transcript after a Call finished webhook.
A key’s scopes are set when it is made, so a scope cannot be added to a key you already have. Our support team makes a new key with every scope you need. Move your code to the new key, then revoke the old one.
calls:read covers reading calls: GET /calls, GET /calls/summary and GET /calls/{id}. The call comes back without its transcript when the person who made the key cannot see transcripts in your workspace, for example after they leave it.
Who does a key act as?
A key with scopes belongs to the workspace, not to the person who made it. When it is created, its scopes are limited to what that person may do, and after that it keeps working even if they leave. The key list then marks it Left the workspace, so an owner or admin can revoke it. Keys made before scopes existed show as Older key: read or Older key: read and write. They follow the page permissions of the person who made them, and they cannot open gates.How do I expire or revoke a key?
- Expire. Pick a date under Stops working when you create the key: in 30 days, in 90 days or in a year. The list shows each key’s expiry and when it was last used.
- Revoke. Press Revoke on the key’s row in API keys, then Revoke key, and anything using it, such as a CRM sync, stops working at once.
- Rotate. Create a new key with the same scopes, move your code to it, then revoke the old one.
How do I keep a key safe?
- Give each system its own key, so you can revoke one without stopping the others.
- Tick only the scopes the system needs.
- Set an expiry for keys used in tests or by contractors.
Questions people ask
Can I get an API key that writes data?
Can I get an API key that writes data?
Yes. Keys you create yourself read data, and owners can add the gate scopes. Our support team adds write scopes, such as adding contacts or starting campaigns, on request.
What happens to a key when the person who made it leaves?
What happens to a key when the person who made it leaves?
A key with scopes belongs to the workspace, so it keeps working. The key list marks it Left the workspace, so an owner or admin can revoke it and make a new one.
How do I rotate an API key?
How do I rotate an API key?
Create a new key with the same scopes, move your code to it, then revoke the old key. Anything still using the old key stops working straight away.
Can I use an API key in a web page?
Can I use an API key in a web page?
No. Anyone who opens the page could copy it. Keep the key on your server and call SmartAlex from there. The website widget needs no API key.
Related
Getting started
Create a key and make your first request.
Rate limits and errors
What each 401, 402 and 403 means.
How AI apps sign in
The MCP server uses sign-in instead of keys.
Webhooks
Signed events sent to your systems.

