Call control
Start a call
Places a real, billable outbound PSTN call. Returns the call with its uuid for tracking and control.
POST
Start a call
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Body
application/json
Attributes for the new outbound call.
Response
Returns the created call.
Most recent lifecycle event for the call. One of:
call_setup— the call is being initiated.ringing— the destination is ringing.early_media— early media (such as ringback) is playing before answer.answered— the destination answered the call.completed— the call ended normally.busy— the destination was busy.cancelled— the call was cancelled before answer.rejected— the destination rejected the call.on_call_event— an in-call event occurred (seeevent_payload).
Available options:
call_setup, ringing, early_media, answered, completed, busy, cancelled, rejected, on_call_event Example:
"call_setup"