Skip to main content
Configure and validate a trunk first. When the call should run a Voice Agent, also create that agent and resolve its readiness.
A call request accepts from_uri and to_uri—not the former from/to fields—and voice_agent_id rather than application_id. The returned call records its state, direction, optional Voice Agent ID, selected trunk and endpoint IDs, and lifecycle timestamps. Depending on routing or provider conditions, origination can fail; handle the API error and inspect subsequent call status. Leamout enforces configured route admission and organization runtime allowances when admitting eligible Voice Agent calls.