Calls
POST /v1/agent/endpointOptions
string
required
Agent ID to associate this endpoint with.
string
Phone number in E.164 format (e.g., +12345678900). Optional when direction is OUTGOING, for an agent that calls from numbers you do not know up front.
string
Environment name (default: production).
string
required
Call direction: INCOMING, OUTGOING, or
INCOMING_AND_OUTGOING. One of INCOMING, OUTGOING, INCOMING_AND_OUTGOINGstring
Outbound dial type: NONE or
HTTP_REQUEST (default: NONE). One of NONE, HTTP_REQUESTstring
ID of the HTTP request definition for outbound dialing (required when outboundDialType is
HTTP_REQUEST).