Launch a call
Originates a conversational AI call to a destination number using the specified agent and dial type. Every variable defined by the agent must be covered either by the variables object of the request or by a default value configured in the agent — values sent in the request override the agent defaults. An ACCEPTED status only indicates that the call was accepted by the voice provider; the final result is notified through the webhook.
Authentication
OAuth 2.0 access token issued by POST /api/oauth/token (client-credentials). Takes precedence over x-api-key when both are sent. See the Authentication section.
Request
10-digit Mexican phone number, without country code.
Agent identifier obtained through GET /v1/omia/agents.
Dial type identifier obtained through GET /v1/omia/dial-types.
Values for the variables defined by the agent. Values sent here override the agent defaults. Any agent variable not covered by the request or by a non-empty default causes the request to be rejected.

