Create a call webhook
Registers a callback URL for the on-call or post-call event. Wavix sends a POST callback to the URL when the event occurs.
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Body
Attributes for the new call webhook.
Webhook URL to send call events to.
"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.
post-call, on-call Response
Returns the created call webhook.
A call webhook response
Indicates whether the request was successful.
true
Type of call event the webhook subscribes to. One of post-call (delivered once after the call ends) or on-call (delivered for in-call events while the call is active).
post-call, on-call "post-call"
Webhook URL
"https://you-site.com/webhook"