Skip to main content
An API lets your agent ask your own system a question in the middle of a call. Say the caller needs something only your backend knows, such as an order status or an open appointment slot. SmartAlex sends a request to your HTTPS address, reads your reply and the agent says the answer. In the dashboard one configured API is called an API action.
In the app: Sidebar → Agent Settings → APIs (/home?settings=http_tools). The APIs screen has two tabs, API actions and Keys. Needs the Power Tools add-on.

How does an API action work on a call?

The diagram shows one run, from the caller’s question to the agent speaking your endpoint’s answer. The agent never sees your keys. SmartAlex stores them encrypted and adds them to each request. If your endpoint fails or is slow, the agent is told the lookup did not work and carries on with the call.

What do I need first?

Which format should I choose?

Each API action has a Format.

What are the limits?

Details are on Rate limits.

How do APIs count towards the tool budget?

An agent can have up to 20 live tools, counting built-in tools, connector tools and API actions, and about 8,000 tokens of tool instructions. Each API action takes a slot. See How many tools an agent can have.

What data reaches my endpoint?

Each run sends your endpoint the inputs the agent filled in. The standard format also sends the caller’s number, the call and agent ids and your workspace id. Once data reaches your endpoint it is yours to look after. Whatever you reply is passed to the agent as it is, so do not return text you do not want spoken.

Questions people ask

HTTP tools are now called APIs. Open Sidebar → Agent Settings → APIs, and old links to ?settings=http_tools still open it. They work the same way: each API action calls your HTTPS endpoint during a call, and the agent speaks the answer. They need the Power Tools add-on.
Yes. Save your system’s key once on the Keys tab of APIs and use it in any action. SmartAlex stores it encrypted and adds it to each request, and the agent never sees it. To let the agent look up a product, add an API action that calls your product endpoint, for example by product code or name. The agent reads back the price or stock. See Create your first API tool. SmartAlex’s own API keys, which start sa_live_, are a different thing: they let your own code call the SmartAlex REST API. See Can I use an API key instead?.
A connector links SmartAlex to a ready-made app such as HubSpot. An API is for your own system, or any web service SmartAlex has no connector for. See How connectors work.
Not for a service that already has an API. Pick Custom request, paste its address and key and write the body it expects. Code is only needed when you build your own endpoint for the standard format.
Yes, if your endpoint does. Leave Lookup only off for an action that changes anything, so the caller waits for it to finish. Switch it on only for an action that reads data.
Three things must all be on: the action is Live, the agent has APIs switched on, and the action’s Access includes that agent. The agent also decides from the When to use text. See Troubleshooting.
The dashboard does not offer one, so every run goes to your endpoint.

Create your first API tool

Add your first API action and test it.

Request and response

What we send and what to reply.

Signature verification

Check a request really came from SmartAlex.

Troubleshooting

Find out why a run failed.

Error codes

Every result in the Requests tab.

Best practices

Make the agent use your endpoint well.

Code samples

Handlers for Node, Python, PHP and Go.

Your own MCP server

Use an MCP server instead.
Last modified on November 27, 2026