Calls

List Voice AI agents eligible as transfer targets

GET
/api/calls/voice-ai/transferable-agents

Returns the set of Prompts in the caller's organization that can be configured as transfer destinations for the Voice AI transfer server tool. An agent is eligible when its voiceAI.enabled is true AND it has been synced to ElevenLabs (voiceAI.elevenlabsAgentId is set) - only synced agents have a routable agent ID for inter-agent transfer. Pass excludePromptId with the current agent's id so the agent cannot transfer to itself; non-ObjectId values are ignored (no exclusion is applied).

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

excludePromptId?string

Prompt _id to exclude from the result. Typically the current agent's id, to prevent self-transfer.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/calls/voice-ai/transferable-agents"
{  "agents": [    {      "id": "64d2f9c5e8a1d4e001a0b1c2",      "name": "Senior Leasing Specialist"    },    {      "id": "64d2f9c5e8a1d4e001a0b1c3",      "name": "Maintenance Coordinator"    }  ]}