Create a call
Initiate a new outbound phone call.
Authentication: Supports API key and bearer token authentication.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
A unique key (up to 255 printable ASCII characters, e.g. a UUID) that makes a retry of this request safe. Envoy stores the response for 24 hours; a retry with the same key and the same request returns it again with Idempotent-Replayed: true instead of running twice. The same key with a different request returns 422 idempotency_key_reused; while the first request is still running, 409 idempotency_key_in_progress. 5xx and 429 responses are not stored.
Request
Phone number to call (E.164 format)
Voice agent ID (alternative to template)
Agent type: LOAD_BOOKING, ELP, or None
Variables for the template/agent
Response
Customer phone number (derived from direction)

