The Talqing API is a JSON HTTP API at https://api.talqing.com, every path under /v1. Everything the dashboard does to agents, tools, calls and conversations goes through it, and both SDKs and the MCP server are generated from the same OpenAPI document.

Your first request

Send a personal access token as Authorization: Bearer <token>. Create one in the dashboard under Organization → API Tokens; it acts as you, with your current role. See authentication.
Response

Conventions

PATCH merges

A PATCH changes only the fields you send.
  • PATCH /v1/agents/{agent_id} and PATCH /v1/tasks/{task_id} merge config key by key, including nested objects such as llm. A list (tools, handoffs, faqs) replaces the stored one whole: to add an entry, send the full list. An unknown field is refused. See updating an agent.
  • PATCH /v1/tools/{tool_id} replaces operations whole. Send every operation you want to keep.
  • Every PATCH is a JSON merge patch: an omitted field is unchanged, and an explicit null clears a field the schema marks nullable — {"label": null} removes a phone number’s label. null on a field that cannot be empty, such as a tool’s name, is a 422 naming the field.
Agent, tool and task writes land on the draft. Live traffic keeps the published version until you publish again — see versions.

Validate and publish

Every validate endpoint answers 200 with {"errors": [...], "warnings": [...]}. Errors block a publish, warnings do not. POST /v1/agents/{agent_id}/publish runs the same checks and refuses with 400 if any error remains; a successful publish returns the warnings.

Endpoint tags

The Endpoints section is generated from openapi.json, grouped by tag: Sign-in, workspace membership, invites and personal access tokens are dashboard-only endpoints and are not in this reference or the SDKs.

Errors

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

SDKs

TypeScript and Python clients generated from this document.