Deleted Calls

Deleted calls provide an audit trail of call records that have been removed from the platform. Each record retains key information from the original CDR (phone numbers, timing, duration, and wholesale costs) along with a reference to the user activity log entry that recorded the deletion.

Deleted call records are not kept permanently. After a retention period, they are fully removed from the platform and made available through disaster recovery files.

Access to deleted calls requires data protection permissions.

For active call records, see Calls.

Methods

GET

Retrieve Single Deleted Call

/backend/api/v1/deletedCalls/ID - fetch deleted call with specified ID.

List Deleted Calls

/backend/api/v1/deletedCalls/ - list all deleted calls.

/backend/api/v1/CDRFiles/ID/deletedCalls/ - list deleted calls from the CDR file with specified ID.

Additional Query Parameters
ParameterTypeRequiredDescription
minDatedateNoOnly return deleted calls from this date onwards (YYYY-MM-DD)
maxDatedateNoOnly return deleted calls up to this date (YYYY-MM-DD)

Standard pagination parameters (limit, offset, idAfter, createdSince, updatedSince) are also supported.

Example Request

Fetch deleted calls from a specific CDR file:

curl -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://YOUR_DOMAIN/backend/api/v1/CDRFiles/294/deletedCalls/"

Fields

FieldNameTypeDescription
targetBilled Number (CDR)TextThe phone number that was billed for this deleted call as reported in the CDR
extensionExtensionTextThe extension number used for this deleted call, if applicable
externalThird Party NumberTextThe third-party number that was called or that called the billed number
terminationNumberTermination NumberTextThe number where this deleted call terminated
locationCarrierCarrier LocationTextThe location information provided by the carrier for this deleted call
callTypeDirectionFlagCall LegPreset ValueIndicates whether this was an inbound or outbound call (A-leg, B-leg)
chargeBandCarrier Charge BandTextThe charge band used by the carrier to bill this deleted call
callTypeOriginationTypeFlagCall Origination TypePreset ValueIndicates the type of origination for this deleted call if applicable (e.g., mobile, landline, payphone)
callTypeRecordingFlagCall RecordingPreset ValueIndicates whether this deleted call was recorded
startDateCall DateDateThe date when the deleted call occurred
startTimeCall TimeTextThe time when the deleted call started
tariffTimeRating PeriodPreset ValueThe time period rating applied to this deleted call (e.g., daytime, evening, weekend)
durationDuration (s)NumberThe duration of the deleted call in seconds
answerTimeAnswer Time (s)NumberThe time in seconds between call setup and answer
costCDRWholesale Cost (p)TextThe wholesale cost of this deleted call in pence as reported by the carrier
costSuggestedRetailSuggested Retail Cost (p)TextThe suggested retail cost for this deleted call in pence
costCDRBasicBasic Wholesale Cost (p)TextThe basic wholesale cost of this deleted call in pence, excluding any surcharges
costCDRAccessChargeWholesale Access Charge (p)TextThe wholesale access charge component of this deleted call in pence
costCDRSurchargeMobileOriginationWholesale Mobile Origination Surcharge (p)TextThe wholesale mobile origination surcharge component of this deleted call in pence
costCDRSurchargePayphoneOriginationWholesale Payphone Origination Surcharge (p)TextThe wholesale payphone origination surcharge component of this deleted call in pence
costCDRSurchargeCallRecordingWholesale Cost Call Recording Surcharge (p)TextThe wholesale call recording surcharge component of this deleted call in pence
carrierCarrierPreset ValueThe carrier responsible for this deleted call
callCarrierCall CarrierPreset ValueThe carrier that handled this specific deleted call (may differ from the primary carrier)
CDRFileIDCDR FileTextThe ID of the CDR file that contained this deleted call record
lineNumberLine NumberTextThe line number in the CDR file where this deleted call record appeared
carrierCallIDCarrier Call IDTextThe call identifier provided by the carrier
userActivityLogDeleted in User Activity IDTextThe ID of the user activity log entry that recorded the deletion of this call
idDeleted Call IDTextThe unique identifier for this deleted call record

Still Didn’t Find Your Answer?

For assistance, please contact us below.

Submit a ticket