Skip to content
← All integrations

Custom API integration

Call any API, live, mid-call.

Give your agent a web service and it can check a booking, find an order or write a note while the caller is still on the line. You define the request yourself; no Sempera staff step is needed.

Status today: available now. You set up a custom API tool yourself and it runs on live calls, with no Sempera staff step needed.

Any web service, not a fixed list

A custom API tool is how your agent reaches a system we have no ready-made connection for: a booking system, a job tracker, your own server. It is the route behind real client integrations built so far, and it works today without our involvement.

Reusable requests, plain HTTP methods

You define a request once, with its address, method and headers, and attach it to the agents that should use it. GET, POST, PUT, PATCH and DELETE are supported, and addresses must be HTTPS. An agent can have up to forty tools attached.

Secrets stay out of the request

A key or token is stored once as a workspace secret and referenced by name where the request needs it. The credential itself is never typed into the tool, and the runtime fills it in when the call needs it. Rotating a key means updating the secret.

Details taken from the conversation

Parameters can go in the path, the query, a header or the body. The agent fills them from what the caller said, such as a name, a date or an order number.

What comes back goes back into the call

The agent reads the response and uses it in what it says next, for example confirming a time that was found. We confirm with you how a given response is read so that the right fields are used, and test it on a call before launch.

Plan for failure, not just success

Each request has a time limit and a bounded number of retries. You decide how an error is handled, and the agent can tell the caller plainly that it could not check, then hand over to a person or take a message.

Connect your API

Four steps, all in the tools area.

  1. 01

    Open the tools area, add a custom API tool and enter the HTTPS address of the service. Store any key or token as a workspace secret first, and note its name.

  2. 02

    Choose the method, add any headers, and reference the secret by name where the service expects its credential. Use the content type the service accepts.

  3. 03

    Describe each parameter the agent should supply: where it goes in the request, whether it is required and what it means, so the agent asks the caller for the right things.

  4. 04

    Decide what the agent should do with the answer and with errors, test the tool with example values, then attach it to the agent and make a test call.

Our technology team works with you to define the connection, fit it to your existing systems, and support the launch.

Talk to our technology team

Drop Sempera into your editor.

Use the REST API, the command line or the hosted MCP endpoint from the tools you already work in. Every example reads your key from the environment.

Read the API docs
curl --fail-with-body https://api.sempera.org/v1/me \
  -H "Authorization: Bearer $SEMPERA_API_KEY"

Reads the account behind your key. It places no call and sends no message. API reference

Frequently asked questions

Our technology team scopes the integration with you.

They map Sempera to your stack, design the rollout, and stay with you through go-live.

Build with Sempera in your editor.

Connect through the API, command line or hosted MCP endpoint. Start with the setup guide for your development environment.