Bitel
2.0.0
2.0.0
  • Introduction
  • Authorization
  • API Structure
  • General API Errors
  • SMS
    • Introduction
    • Template SMS
    • OTP SMS
    • Single SMS
    • Batch SMS
    • Batch P2P SMS
    • SMS Status
  • Call
    • Introduction
    • OTP Call
    • Single Call
    • Single TTS Call
    • Batch Call
    • Batch TTS Call
    • Call Status
  • Webhook
    • Sms Webhook Events
    • Voice Webhook Events
  • Files
    • Introduction
    • Upload Voice
    • Text To Speech
    • Download Voice
  • Code Samples
    • C#
    • PHP
    • Python
Powered by GitBook
On this page

Was this helpful?

  1. Webhook

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

PreviousSms Webhook EventsNextIntroduction

Last updated 5 years ago

Was this helpful?