Skip to main content
POST

Set Agent as Callback

Configure an inbound agent to handle callbacks from one or more outbound source agents. When a contact previously called by a source agent dials back, the call is routed to this agent (assuming the agent owns the dialed number).

Endpoint

Path parameters

string
required
UUID of the inbound agent. Must have direction: "inbound".

Request headers

string
required
Bearer token. Format: Bearer talq_your_environment_token_here
string
required
Must be set to application/json

Request body

array
required
Array of outbound agent UUIDs whose contacts should route to this callback agent on inbound returns. Must contain at least one entry.

Examples

Response

Error responses

422 — Wrong Direction