ThunderPhone 2.0 is live.Self-serve, from 2¢/min.Read the announcement

Agents

Agent imports

Bring agents, tools, and knowledge bases over from Vapi, Retell, ElevenLabs Agents, or Bland with an API key or a pasted JSON export.

An agent import fetches everything in a competitor account, maps it onto ThunderPhone agents, API connections, and knowledge documents, and lets you review before anything is created. The vendor key is used only for the import and deleted when it finishes. Admin role is required to start, edit, commit, or discard an import; members can read it.

Start an import

POST /v1/agent-imports

{ "source": "vapi", "auth_mode": "api_key", "api_key": "…" }

source is vapi, retell, elevenlabs, or bland. auth_mode is api_key or paste (send the exported JSON as payload). Returns 201 with the import in queued status, or 409 with import_id if one is already running.

Get an import

GET /v1/agent-imports/{id} — poll until status is ready. The response carries progress, one items[] entry per source agent (mapped, warnings, selected), and a report of phone numbers, webhooks, and unsupported tools that are not imported.

Edit an item

PATCH /v1/agent-imports/{id}/items/{item_id} with any of selected, name, voice, product, prompt_choice (deterministic or rewritten). Only while the import is ready.

Commit an import

POST /v1/agent-imports/{id}/commit — creates the selected agents in the background; poll the import until status is done. result lists the created agent, API connection, and knowledge base ids and any failed items.

Discard an import

DELETE /v1/agent-imports/{id} — abandons the import and wipes the stored key.

List imports

GET /v1/agent-imports — the organization's 20 most recent imports.