v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-285553225.5 KB
Agent Endpoint

Create a new agent endpoint

Creates a new agent endpoint for the authenticated project.

post/v1/agent/endpoint

Request body

agentIdstring uuid required

Agent ID to associate this endpoint with

valuestring required

Phone number in E.164 format (e.g., +12345678900)

environmentstring

Environment name (default: production)

direction'INCOMING' | 'OUTGOING' | 'INCOMING_AND_OUTGOING' required

Call direction: INCOMING, OUTGOING, or INCOMING_AND_OUTGOING

outboundDialType'NONE' | 'HTTP_REQUEST'

Outbound dial type: NONE or HTTP_REQUEST (default: NONE)

outboundDialHttpRequestDefinitionIdstring uuid nullable

ID of the HTTP request definition for outbound dialing (required when outboundDialType is HTTP_REQUEST)

Response

The created agent endpoint