Integrations
Connect an API
Connect any HTTPS API, such as your own backend, an order system, or an issue tracker, and describe the operations the agent and your team can use there. Reads are what the agent checks while it investigates, such as an order by its number. Actions change something, such as resending an invoice, and go through the same approvals as every other action.
For a system with a remote MCP server, connect the server instead: its tools come with it.
Connecting
- Under Integrations → Connectors, choose Add a connector, then An API.
- Give it a name your team and the agent will recognize, such as "Orders".
- Give its address, such as
https://api.example.com/v1. Each operation's path goes after it, so/orders/{order_id}is requested athttps://api.example.com/v1/orders/1001. - Choose how it takes its key, and paste the key:
- No key, for an API that's open or reached another way.
- A bearer token, sent as
Authorization: Bearer <key>. - A header of its own, such as
X-API-Key: <key>. To sendAuthorizationwith a scheme of its own, choose this with the headerAuthorizationand paste the whole value, such asToken abc123. - In the query, such as
?api_key=<key>. Some servers log their queries, so prefer a header when the API takes one.
The key is stored encrypted, only ever sent to the API's own address, and shown only by its last characters. Changing the address to another host needs the key again, so it never goes somewhere new without you giving it. Give the key only the access its operations need: a read-only key for reads.
Connecting checks it: answerable sends one GET to the address, with the key. Any answer means it's there, even an error such as 404, since the address itself may not be an operation. If nothing answers, it isn't connected. If it answers 401 or 403, the key may be wrong, so you're asked first: Connect anyway connects it, for an API that only refuses that address, and the connector's panel shows what it answered. Changing the address, the key, or how it takes the key checks it again.
The connector starts on, and its panel opens on adding its first operation.
Operations
In the connector's panel, Add an operation under Reads or Actions. It opens as a page of the panel, where you write it and try it before adding it; each of its inputs opens as a page over it. Each has:
- A name and a description. The agent reads both to choose when to use it, so say what it gives or does and what it needs: "Finds an order by its number: its items, status, and where it's shipping."
- Its request: a method (GET, POST, PUT, PATCH or DELETE) and a path after the address. Write a value that goes in the path as
{name}; it gets an input of its own. - What it does: Read, Change, Irreversible change, or Money. It starts from the method (GET reads, DELETE is an irreversible change, the rest change something), and you can change it: a search sent as a POST is still a read. A read runs while the agent investigates without anyone approving it, so mark an operation as a read only when it changes nothing.
- Its inputs, each with where it goes and who gives it.
A new read is added on, so the agent can use it at once; a new action is added off, until you choose who may take it. Only admins add and change operations, so what you save is what the agent uses, at once.
Each operation's row opens it in the same panel: what it is, who may take it, when to use it, and Try it, all saved together with Save. The switch or choice on the row itself saves at once. Changing what an operation does turns it off, so you choose again who may take it. Removing one, from its row's menu, removes its setting too.
Inputs
Each input goes in one place:
| Where | How it's sent |
|---|---|
| In the path | In place of its {name}, escaped, so it can't add to the path. Always required. |
| In the query | ?name=value, after any query the address has. |
| In the JSON body | A field of the JSON object sent as the body, for POST, PUT, PATCH, and DELETE. |
| In a header | Name: value, in plain characters. answerable sets Accept, Authorization, Content-Type, Idempotency-Key, User-Agent and the like itself, so an input can't be one of those. |
An input is given by the agent (and by your team when they take an action), or filled by answerable from the ticket, never by the agent:
| Filled by answerable | What it is |
|---|---|
| Customer's email | The verified email address the customer wrote from. |
| Their account in your product | The account ID your product's lookup gives for them. |
| Their Stripe customer | Their Stripe customer ID, from Stripe or your product's lookup. |
| Ticket number | The ticket's number in answerable. |
Inputs about the customer are filled only for a sender whose latest email is verified as theirs, so operations that take one are offered to the agent only then. An action that fills in their account runs only for the account it was proposed for.
A read the agent gives an input to, such as a search query or an order number, works from what the ticket says, so someone writing in can ask for a value of their own, and a read with nothing answerable fills from the customer runs for any sender, verified or not. Give a read only inputs whose results anyone writing in may see. One that says whose data to read (a customer's email, an account or customer ID) should be filled by answerable instead: its settings point out an input whose name looks like one.
The agent gives text, a number, yes or no, one of a list of options, or an amount of money. A number can have a minimum and a maximum, and text a maximum length (2,000 characters at most); a value outside them is refused before anything is sent, whether the agent or your team gives it. Each option has the value the API takes and, if you like, a label people see. Money goes to the API as a whole number in the currency's smallest unit, such as cents, and an operation takes at most one amount. How much the agent may move on its own is the action's limit, in its permission.
Trying it
In an operation's panel, use Try it with values to try it with, including the ones answerable fills, such as an email address. It tries the operation as it's written in the panel, before you add or save it.
- A read sends one request and shows what the agent would see, and how long it took.
- An action shows the exact request first. Send it for real then sends it once, so use values from a test account. Changing a value or the operation puts the preview away, so what's sent is always what was shown.
What the agent sees
A read gives the agent the body of the API's answer, as data from that system, never as instructions: JSON as it came, or the text. Past 16,000 characters it's cut, with a note saying so.
| The API answers | The agent sees |
|---|---|
| 2xx | The body. |
| 4xx, such as 404 | Its status and body, so "no such order" is an answer it can use. |
| 401 or 403 | That the request was refused. Check the key. |
| 429 | That the API is limiting requests. |
| A redirect | That it was redirected, which isn't followed. |
| 5xx, or nothing within 10 seconds | That the API had a problem. |
An answer that repeats the key, as some errors do, has it blanked out.
Actions
An action runs when someone takes it from a ticket, or when the agent proposes it and it's approved, or runs on its own where you allow that. Each request carries an Idempotency-Key header, the same for every attempt at one run, so an API that honors it does the action only once even when it's tried again.
| The API answers | The action |
|---|---|
| 2xx | Is done. A message in the JSON body becomes the receipt's line, and a url (https) its link. |
| 4xx | Failed: the API refused it, with what it said in message, error, detail, or title. |
| 409 | May have gone through: the API may still be taking the same request. |
| 5xx, a redirect, or nothing within 15 seconds | May have gone through. Trying it again sends the same request and key. |
A money action can run on its own up to a limit. answerable can't check an amount an API moves against the customer's own payments, as it does for Stripe, so an amount over the limit, or one it doesn't know, waits for approval. While the workspace is in test mode, and on sample tickets, the agent's replies aren't emailed to customers, so the actions that go with them wait for approval too.
Limits
- Requests go only to https addresses on the public internet, and redirects aren't followed.
- At most 1 MB is read of an answer.
- Reads time out after 10 seconds, actions after 15.
- 600 calls an hour per connector, from the agent and your team together.
- 30 connection checks an hour per workspace, shared with MCP servers, counting each time an address or key is checked.
- 10 reads through connectors in one investigation.
- 100 operations per connector, and 20 inputs per operation.
- Descriptions, the operation's and each input's, up to 1,000 characters.
For agents: this page as Markdown, and every page in llms.txt.