Skip to main content
Creates a new agent endpoint for the authenticated project.
Calls POST /v1/agent/endpoint

Options

string
required
Agent ID to associate this endpoint with.
string
required
Phone number in E.164 format (e.g., +12345678900).
string
Environment name (default: production).
string
required
Call direction: INCOMING, OUTGOING, or INCOMING_AND_OUTGOING. One of INCOMING, OUTGOING, INCOMING_AND_OUTGOING
string
Outbound dial type: NONE or HTTP_REQUEST (default: NONE). One of NONE, HTTP_REQUEST
string
ID of the HTTP request definition for outbound dialing (required when outboundDialType is HTTP_REQUEST).

Example

Every command also takes the global options and sets one of the exit codes.