Skip to main content
POST
Conectar un teléfono a un agente

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-workspace-id
string<uuid>
required

Identificador del workspace multi-tenant.

Path Parameters

agentId
string<uuid>
required

Identificador del agente

Body

application/json
agent_id
string<uuid>
required
phone_id
string<uuid>
required
test_phones
string[]
allow_all
boolean
default:false

Response

Teléfono asignado

agent_id
string<uuid>
required
phone_id
string<uuid>
required
allow_all
boolean
required
test_phones
string[]
channel
string | null
assigned_at
string<date-time> | null