The Talqing API is a JSON HTTP API. Everything the dashboard does, it does through these endpoints — building agents and tools, publishing them, placing calls, and reading back what happened.

Base URLs

Every request goes to a region, and the region is the base URL. There is no region field anywhere in the API. Every path is prefixed with /v1:
One token reaches every region. A personal access token names your workspace, not a place, and your workspace exists in every region already — so working in a second region is the same token and a different base URL. What is not shared is everything the workspace owns: an agent created against api.in.talqing.com does not exist in api.us.talqing.com, and neither do its calls, its phone numbers or its credit balance. See regions. GET /health is the one unauthenticated endpoint. It answers for the API process only — a 200 does not promise the database or LiveKit is reachable.

Authenticating

Create a token in the dashboard under Organization → API Tokens. The token acts as the person who created it, with that person’s current role. Full detail, including the role matrix and the dashboard’s cookie session, is on authentication.

Your first request

Response

Requests and responses

PATCH semantics

A PATCH merges. A field you omit is left as it is; a field you send as an explicit null is cleared.
That distinction is why the Python SDK does not send an argument you did not pass, and why the TypeScript SDK’s request bodies are plain objects you build yourself.

Agents and tools are written whole

Two write endpoints are not patches, whatever the verb says:
  • PATCH /v1/agents/{agent_id} takes the complete config. Whatever it omits reverts to that field’s default — this is a replace, not a merge. Read the agent, change what you need, send the whole object back.
  • PATCH /v1/tools/{tool_id} merges its top-level fields, but operations replaces the entire tree. Send every node you want to keep.
Writes land on the draft. Live traffic keeps running the published version until you publish again — see versions.

Validation and publishing

Every validate_* endpoint answers {"errors": [...], "warnings": [...]}. Errors block a publish; warnings do not. POST /v1/agents/{agent_id}/publish runs the same validation and refuses with the errors if it fails.

The endpoint reference

The Endpoints section of this tab is generated from the OpenAPI document and grouped by tag:

What is not here

Sign-in, workspaces, members and roles, personal access tokens, and payments live on a separate control host and are not part of this reference. They are global rather than regional, which is why they are not on a region’s API at all: a 404 from a regional base URL for one of those paths means you are aimed at the wrong host. You never need those endpoints to integrate. Create a token in the dashboard, point a client at a region, and everything below is reachable. The generated SDKs and the MCP server cover exactly this regional surface for the same reason.

Authentication

Bearer tokens, roles, and which operations need which.

Errors

The one error envelope, every status code, and what to retry.

SDKs

TypeScript and Python clients generated from this document.