Reassigns an existing external trunk (created via POST /trunks) to a different agent on the same channel. The phone number, SIP credentials, and channel settings are preserved — only the agent on the binding changes. Returns the same channels payload as GET /phone-numbers/channels.
Documentation Index
Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt
Use this file to discover all available pages before exploring further.
Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"
Identifier for the trunk being reassigned. Together with channel, locates exactly one trunk row. The phone number itself is unchanged by this call.
"+12345678901"
Channel of the trunk being reassigned. To reassign a multi-channel trunk completely, call this once per channel.
call, whatsapp UUID of the agent that should own the trunk going forward. Same value as agent_uuid in /api/v1/agents/{uuid} endpoints.
Assigned
Indicates whether the request completed successfully. True for successful responses; false for documented error responses.
Human-readable response message. Safe to display in logs or simple client notifications; use structured fields for program logic.
Per-channel snapshot returned by /phone-numbers/{uuid}/channels, /phone-numbers/channels?number=…, and the trunk create/update/assign endpoints. Combines capability (what the carrier supports), state (what's enabled), and binding (which agent is wired up).