Placing a call
POST /v1/callback with at least a to number. See the Quickstart and the API Reference.
Connecting the answered call
When the customer answers a production callback, Wave must know where to connect the call. Do this before you go live:- Bind an IVR menu to your number. A bound IVR always comes first.
- Or set a connect number: in the dashboard, open Settings → Connect number (owner or admin only). Wave calls this Saudi mobile or landline number and connects the customer; the person who answers sees your project’s number. If nobody answers, the customer hears a short message, then the call ends.
Call lifecycle
A callback is created withstatus: "initiated" and returns 202 immediately.
The call then progresses through its lifecycle as the telephony backend reports it — answered (with answered_at), then ended (with duration). Each transition fires the matching webhook (call.answered, call.ended), and the final status and duration are written to the call record.
Treat the
202 as “accepted,” not “completed.” Subscribe to
webhooks — or poll GET /v1/calls — to follow the call to
answered / ended.Call logs
Every callback is recorded. Retrieve them withGET /v1/calls — cursor-paginated (cursor, limit up to 100), numbers masked — or view them on the Call Logs page in the dashboard. See the API Reference for the full request/response.
Listing, reading and cancelling callbacks
GET /v1/callbackslists your callbacks, newest first, paged withpageandpage_size(up to 100). Filter bystatus,queue_id,fromandto; with nofromorto, the last 7 days are returned. Requires thecalls:readscope.GET /v1/callbacks/:idreturns one callback by thecallback_idfrom the202answer. Requires thecalls:readscope.DELETE /v1/callbacks/:idcancels a callback that is stillinitiatedorringing; the status becomescancelledand acall.cancelledwebhook is sent. A callback pastringingreturns409 CALLBACK_NOT_CANCELLABLE. Requires thecalls:writescope.
environment (send only the key’s own value; another value returns 400 VALIDATION_ERROR), and a read or cancel of a callback of the other environment returns 404 CALLBACK_NOT_FOUND. See Sandbox mode.
See the API Reference for the full request and response shapes.
