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
Where did HTTP tools go?
Where did HTTP tools go?
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.Do API keys work, and can I bring in a product from my own system?
Do API keys work, and can I bring in a product from my own system?
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?.What is the difference between an API and a connector?
What is the difference between an API and a connector?
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.
Do I have to write any code?
Do I have to write any code?
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.
Can the agent change data through an API?
Can the agent change data through an API?
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.
Why does my agent not use the action?
Why does my agent not use the action?
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.
Is there a cache?
Is there a cache?
The dashboard does not offer one, so every run goes to your endpoint.
Related
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.

