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

Sms Webhook Events

PreviousCall StatusNextVoice Webhook Events

Last updated 5 years ago

Was this helpful?

Bitel uses webhook to let your servers know when a SMS request has been concluded.

To enable SMS 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

batchId

the identifier of the batch

balanceSubtracted

the amount that is subtracted from the project balance, in Tomans

cause

call status (see Call Status table)

smsCount

count of sms parts

requestDate

date of request, in epoch format

deliveryStatus

status of delivery(see )

SMS Detail