Create a call webhook
Call webhooks
Create a call webhook
Creates a call webhook. Wavix sends POST callbacks for on-call and post-call events.
POST
Create a call webhook
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
Webhook configuration.
Webhook URL to send call events to.
Example:
"https://you-site.com/webhook"
Allowed values: on-call, post-call.
-
on-call: Sends real-time status updates when a call starts, is answered, and ends. -
post-call: Sends a callback after the call ends with disposition, duration, and cost.
Available options:
post-call, on-call