Calls

Call records represent individual CDR entries imported from carrier files. Each record contains the full detail for a single call leg, including retail and wholesale costs, duration, carrier information, and rating details.

For an audit trail of removed records, see Deleted Calls. For the merged A-leg/B-leg view, see Combined Calls vs Call Details in the Call Management guide.

Methods

GET

Retrieve Single Call

/backend/api/v1/calls/ID - fetch call with specified ID.

List Calls

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

/backend/api/v1/customers/ID/calls/ - list calls belonging to customer with specified ID.

/backend/api/v1/numbers/ID/calls/ - list calls belonging to number with specified ID.

/backend/api/v1/invoices/ID/calls/ - list calls on the invoice with specified ID.

/backend/api/v1/features/ID/calls/ - list calls belonging to feature with specified ID.

/backend/api/v1/transactions/ID/calls/ - list calls belonging to transaction with specified ID.

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

Additional Query Parameters
ParameterTypeRequiredDescription
billedflagNoOnly return calls that have been billed
unbilledflagNoOnly return calls that have not yet been billed
minDatedateNoOnly return calls from this date onwards (YYYY-MM-DD)
maxDatedateNoOnly return calls up to this date (YYYY-MM-DD)

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

Example Requests

Fetch unbilled calls for a customer:

curl -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://YOUR_DOMAIN/backend/api/v1/customers/42/calls/?unbilled"

Fetch calls on a specific invoice:

curl -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://YOUR_DOMAIN/backend/api/v1/invoices/1085/calls/"

Fetch calls within a date range:

curl -H "Authorization: Bearer YOUR_API_TOKEN" \
  "https://YOUR_DOMAIN/backend/api/v1/numbers/7/calls/?minDate=2026-01-01&maxDate=2026-01-31"

Fields

FieldNameTypeDescription
targetBilled Number (CDR)TextThe phone number that was billed for this call as reported in the CDR
numberIDNumberTextThe ID of the number that was billed for this call
extensionExtensionTextThe extension number used for this call, if applicable
externalThird Party NumberTextThe third-party number that was called or that called the billed number
terminationNumberTermination NumberTextThe number where this call terminated
locationLocationPreset ValueThe geographic location associated with this call
locationFullFull LocationPreset ValueThe full location details associated with this call
locationCarrierCarrier LocationTextThe location information provided by the carrier for this call
terminationLocationTermination LocationPreset ValueThe geographic location where this call terminated
terminationLocationFullFull Termination LocationPreset ValueThe full location details where this call terminated
callTypeDirectionFlagCall LegPreset ValueIndicates whether this is an inbound or outbound call (A-leg, B-leg)
chargeBandCarrier Charge BandTextThe charge band used by the carrier to bill this call
tariffTypeCall Type (Calculated)Preset ValueThe calculated call type used for billing this call
tariffTypeCarrierCall Type (Carrier)Preset ValueThe call type reported by the carrier for this call
callTypeOriginationTypeFlagCall Origination TypePreset ValueIndicates the type of origination for this call if applicable (e.g., mobile, landline, payphone)
callTypeRecordingFlagCall RecordingPreset ValueIndicates whether this call was recorded
startDateCall DateDateThe date when the call occurred
startTimeCall TimeTextThe time when the call started
tariffTimeRating PeriodPreset ValueThe time period rating applied to this call (e.g., daytime, evening, weekend)
durationDuration (s)NumberThe duration of the call in seconds
bytesData Usage (Bytes)NumberThe amount of data used during this session in bytes
eventsEventsNumberThe number of events recorded during this session
answerTimeAnswer Time (s)NumberThe time in seconds between call setup and answer
costBaseRetail Cost (p)TextThe base retail cost of this call in pence before any discounts
costRetail Cost (Discounted) (p)TextThe retail cost of this call in pence after applying any discounts
costCDRWholesale Cost (p)TextThe wholesale cost of this call in pence as reported by the carrier
costCarrierCalculated Wholesale Cost (p)TextThe calculated wholesale cost of this call in pence based on internal rate tables
costSuggestedRetailSuggested Retail Cost (p)TextThe suggested retail cost for this call in pence
costBaseBasicBasic Retail Cost (p)TextThe basic retail cost of this call in pence, excluding any surcharges
costBaseAccessChargeRetail Access ChargeTextThe retail access charge component of this call in pence
costBaseSurchargeMobileOriginationRetail Mobile Origination SurchargeTextThe retail mobile origination surcharge component of this call in pence
costBaseSurchargePayphoneOriginationRetail Payphone Origination SurchargeTextThe retail payphone origination surcharge component of this call in pence
costBaseSurchargeCallRecordingRetail Cost Call Recording SurchargeTextThe retail call recording surcharge component of this call in pence
costBasicBasic Retail Cost (Discounted) (p)TextThe discounted basic retail cost of this call in pence
costAccessChargeRetail Access Charge (Discounted) (p)TextThe discounted retail access charge component of this call in pence
costSurchargeMobileOriginationRetail Mobile Origination Surcharge (Discounted) (p)TextThe discounted retail mobile origination surcharge component of this call in pence
costSurchargePayphoneOriginationRetail Payphone Origination Surcharge (Discounted) (p)TextThe discounted retail payphone origination surcharge component of this call in pence
costSurchargeCallRecordingRetail Cost Call Recording Surcharge (Discounted) (p)TextThe discounted retail call recording surcharge component of this call in pence
costCDRBasicBasic Wholesale Cost (p)TextThe basic wholesale cost of this call in pence, excluding any surcharges
costCDRAccessChargeWholesale Access Charge (p)TextThe wholesale access charge component of this call in pence
costCDRSurchargeMobileOriginationWholesale Mobile Origination Surcharge (p)TextThe wholesale mobile origination surcharge component of this call in pence
costCDRSurchargePayphoneOriginationWholesale Payphone Origination Surcharge (p)TextThe wholesale payphone origination surcharge component of this call in pence
costCDRSurchargeCallRecordingWholesale Cost Call Recording Surcharge (p)TextThe wholesale call recording surcharge component of this call in pence
costCarrierBasicBasic Calculated Wholesale Cost (p)TextThe calculated basic wholesale cost of this call in pence, excluding any surcharges
costCarrierAccessChargeCalculated Wholesale Access Charge (p)TextThe calculated wholesale access charge component of this call in pence
costCarrierSurchargeMobileOriginationCalculated Wholesale Mobile Origination Surcharge (p)TextThe calculated wholesale mobile origination surcharge component of this call in pence
costCarrierSurchargePayphoneOriginationCalculated Wholesale Payphone Origination Surcharge (p)TextThe calculated wholesale payphone origination surcharge component of this call in pence
costCarrierSurchargeCallRecordingCalculated Wholesale Cost Call Recording Surcharge (p)TextThe calculated wholesale call recording surcharge component of this call in pence
carrierCarrierPreset ValueThe carrier responsible for this call
callCarrierCall CarrierPreset ValueThe carrier that handled this specific call (may differ from the primary carrier)
CDRFileIDCDR FileTextThe ID of the CDR file that contained this call record
lineNumberLine NumberTextThe line number in the CDR file where this call record appeared
carrierCallIDCarrier Call IDTextThe call identifier provided by the carrier
callGroupCall GroupTextOptional call grouping label provided by the CDR loader
aLegIDTextID of the A-leg call when this is part of a multi-leg call
idCall IDTextThe unique identifier for this call record
tariffTypeUsedCall TypePreset ValueThe call type used for billing

Still Didn’t Find Your Answer?

For assistance, please contact us below.

Submit a ticket