Webhooks
IMPORTANT!
If you hadn't yet read the intro part of this section, please click here to read it first.
Cloudonix provides three different types of Webhook Requests, these are listed below. The requests are invoked by the Cloudonix voice application engine, to a pre-defined HTTP endpoint, depending on the current call-flow and call state.
Webhook Request Type | Description |
---|---|
Voice Application Request | The HTTP endpoint is expected to respond with a CXML document, as detailed in the CXML referece. |
Call Detail Record Request | The HTTP endpoint is invoked upon the completion of a voice application, as detailed in the CXML referece. |
Session Update Request | The HTTP endpoint is invoked when a voice application state has changed. State changes occur rapidly and include various data elements, depending on the state transition and CXML verb being executed. |
Warning!
Session Update Requests can produce alot of traffic, even for a single call!
When setting up your Cloudonix Domain Session Update Callback URL make sure that it filters the various session events and that you process only the events you need to process.