Call Detail
Retrieve detail of single or batch call
Single call detail by requestId
In order to retrieve the details of a single call, make sure to store the requestId.
GET
https://api.bitel.rest/api/v1/voice/cdr/:requestId
Path Parameters
requestId
string
requestId retrieved from single otp/tts/voice request
Batch call detail by campaignId
In order to retrieve details of multiple calls, make sure to store the campaignId of the batch/tts request.
GET
https://api.bitel.rest/api/v1/voice/campaign/cdr/:campaignId
Path Parameters
campaignId
string
campaignId retrieved from batch / tts campaign request
Detail Description
Key
Type
Description
requestId
string
request identifier
targetNumber
string
phone number that was called
status
string
call status (see Call Status table)
requestDate
int64
date the request was created in epoch format
executionDate
int64
date the request was executed in epoch format
billSec
string
duration of the call in seconds
balanceSubtracted
float(double)
the cost of request in Toman
Call Status
Code
Description
NORMAL
the call has finished normally
NO_ANSWER
the user didn't pick up the phone
USER_BUSY
the phone number was busy
WAITING
the request is being processed
Last updated