About Webhooks

Webhooks (formerly Callback API) push information via HTTP(S) requests from the VCC Live system to your server when specific events occur.

Webhook Events

Event Description
Call Disposition (Async) A record is allocated a disposition.
IVR (Sync) An IVR interaction.
Mobile Dispositon (Async) A record is allocated a disposition via VCC Live App.
Payment Transaction (Async) A successful or unsuccessful payment occurs.
Project Login (Sync) A user logs in.
User Created (Async) A user is created.
User Modified (Async) A user’s details are modified.

Processing Webhook Requests

Any pogramming language supporting JSON (eg. PHP, Java, Ruby, C, Javascript, etc.) can handle Webhook requests. Webhook requests are HTTP(S) messages, so a webserver required.

A PHP script sample that saves Webhook requests in a temp file:


$body = file_get_contents('php://input');

// If you enable encrpytion you shoud enable next few lines
// $cipherMethod = 'aes-256-ctr';
// $secretKey = 'very secret key';
// $iv = hex2bin($_GET['iv']);
// $body = openssl_decrypt($body, $cipherMethod, $secretKey, 0, $iv);

file_put_contents('/tmp/webhook.log', $body.PHP_EOL.PHP_EOL, FILE_APPEND);

There are no comments yet.


Subscribe to our newsletter
or Contact us!