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. Creates persistent configuration that forwards call metadata to the URL on every matching call until the webhook is deleted.
Behavior: Without expected_url, the webhook is set to url whatever it was before. With expected_url, the webhook is set only while it currently has that URL; an empty string matches an unset webhook. Otherwise the call returns 409 and the webhook is unchanged. Setting the URL the webhook already has succeeds. If the call returns a Something went wrong error, the webhook is unchanged and you can retry the request.
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.
Response
Returns the created call webhook.
A call webhook response