Agents

Update agent channel direction

Update the direction (inbound/outbound/both) for a WhatsApp or Email agent. Enforces inbound-uniqueness per phone number for WhatsApp.

patch/api/v1/agents/{id}/direction

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/agents/{id}/direction
  • Auth: bearerAuth (a scheme the document does not define)

Path parameters

idstring uuid required

Resource UUID

Request body

direction'inbound' | 'outbound' | 'both' required
channel'whatsapp' | 'email' required

Response

Direction updated

successtrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.