Skip to content
First requestVisit website ↗
Navigation

Save the queue AI worker and optional Voice AI agent

Agent must be a set-up, enabled voice profile in this workspace. Null uses the default. Turning on the worker clears its pause reason.

PUT
https://api.channelautomation.com/api/call-queues/{queueId}/ai-worker

Authorization

  • BearerAuth
    HTTP Bearer (JWT)
    required

Path parameters

  • queueId
    string
    required
    format: uuid

Request body JSON

  • voice_agent_id
    optional
    string
    or null
    format: uuid
  • enabled
    optional
    boolean
  • max_concurrent
    optional
    integer
    maximum: 5 · minimum: 1
  • first_message
    optional
    string
    or null
    maxLength: 220
  • context_template
    optional
    string
    or null
    maxLength: 4000

Returns

200

Saved worker settings

400

Invalid settings

403

Workspace owner or admin required

404

Queue not in this workspace

409

voice_agent_unavailable

503

Settings unavailable

Type to search…

↑↓ navigate↵ selectEsc close