Skip to main content
The SmartAlex REST API lets your own code read your workspace over HTTPS with an API key. It covers contacts, deals, calls, campaigns, agents, knowledge, phone numbers and more. Create a key in SmartAlex, send it as a bearer token, and every response comes back as JSON. The 95 endpoints in this reference are generated from the same contract the server checks, so they always match what the API accepts.
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. Workspace owners and admins create keys, and the page needs the Power Tools add-on.

How do I make my first request?

1

Create a key

Open Webhooks & API, choose API keys, then Create a read-only key (owners see Create a key). Give it a Name. Tick what it may use under What it can read (What it can do when the button says Create a key). Then pick when it Stops working: never, in 30 days, in 90 days or in a year. Press Create key.
Create a read-only key drawer with Name, scopes and expiryCreate a read-only key drawer with Name, scopes and expiry

Name the key, tick what it can read and pick an expiry

2

Copy the key

The key starts sa_live_ and is shown only once. Copy it into your password manager or your server’s secret store. If you close the panel first, create a new key.
3

Send a request

The panel shows a Try it request you can paste into a terminal. It reads your 10 newest contacts:
4

Read the response

Lists come back as data with a meta block for paging:

What happens to a request?

Every request goes through the same checks. This diagram shows them in order. If a check fails, the API answers with an error and changes nothing. Rate limits and errors lists each one.

What is the base URL?

Add the path from the reference, such as /contacts or /calls/{id}. Send JSON bodies with Content-Type: application/json.

What does each response look like?

List endpoints take page (from 1) and per_page (25 by default, 100 at most). Any other query parameter is passed to the endpoint as a filter, such as updated_since on contacts.

What can the API do?

The reference groups the 95 endpoints by area. Each endpoint page names the scope it needs. GET /me/tools returns what your key can do right now.

Should I use the REST API or the MCP server?

Questions people ask

Yes, two. The REST API takes an API key and suits your own code, such as a CRM sync. The MCP server lets AI apps such as Claude and ChatGPT work in SmartAlex as a signed-in person.
Yes. A key you create yourself can read contacts, deals, campaigns, knowledge and more, and can export calls with their charges. Page through lists 100 at a time.
Keys you create yourself read data. Our support team can give a key write scopes, such as adding contacts or starting campaigns, on request. Keys and scopes lists them.
Use the REST API for code that runs on its own, such as a nightly sync. Use the MCP server when a person works through an AI app, which signs in as them and asks before risky actions.

Keys and scopes

Who creates keys, and what each scope allows.

Rate limits and errors

Paging, limits and every error.

Webhooks

Hear about new contacts, finished calls and deal moves.

MCP server

Let an AI app run SmartAlex for you.
Last modified on November 29, 2026