Skip to main content
PATCH
Publish agent version

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

agent_id
string<uuid>
requerido

Cuerpo

application/json
version_id
string<uuid> | null

The version id to be published. If not provided, the current version published will be unpublished

outbound_phone_number_id
string<uuid> | null

The outbound phone number id to be used by the agent for outbound calls.

inbound_phone_number_id
string<uuid> | null

The inbound phone number id to be used by the agent for inbound calls.

Respuesta

Successful Response

agent_id
string<uuid>
requerido

The unique identifier for the agent

published_version_id
string<uuid> | null

The version id that was published. If not provided, the agent was unpublished

outbound_phone_number_id
string<uuid> | null

The outbound phone number id to be used by the agent for outbound calls.

inbound_phone_number_id
string<uuid> | null

The inbound phone number id to be used by the agent for inbound calls.