Voice Webhook Events
Bitel uses webhook to let your servers know when a voice request has been concluded.
To enable voice request events, go to your project panel and under the Webhooks section enter a valid, reachable URL.
Make sure that the URL is accessible without any authorization, rate limiting or other restrictions.
Once the URL has been setup, for each request ONLY one event is sent to your URL using POST method.
The event that is sent to your server URL contains the following informations:
property
Description
requestId
the identifier of the request
campaignId
the identifier of the batch
balanceSubtracted
the amount that is subtracted from the project balance, in Tomans
cause
call status (see Call Status table)
billSec
duration of call in seconds
number
the destination number
requestDate
date of request, in epoch
Last updated