Skip to main content
Every SmartAlex REST API request carries an API key in the 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:
Keys start 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 for calls: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?

Treat a key like a password. Keep it on your server or in a secret store, never in a web page, a mobile app or a public repository. The website widget needs no API key.
  • 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

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.
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.
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.
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.

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.
Last modified on November 27, 2026