Call Detail Records

Call Detail Records (CDRs) can be downloaded from the Sinch portal. CDRs are in a semicolon-delimited file that contains the following fields

Field Type Description
VerificationId int

A unique identifier for the verification request

UserSpaceId int

Internal identifier

Method

string

Verification method. Can be flashCall, sms, callout or seamless

StartTimestamp time

Time when the request was placed

EndTimestamp time

Time when the request was placed

Result string

Shows the result of the verification. It can be:

  • "SUCCESSFUL": Number verified successfully
  • "FAIL": Number wasn't verified
  • "DENIED": Verification request was blocked (for reasons such as low credit,fraud etc)
  • "ABORTED": Verification request was aborted, by initiating a new request
  • "ERROR": There was an error processing the request, such as network congestions or number unreachable
Reason string

Reason for the result of a verification

CLI string

The CLI that was used for a flashcall. Empty for SMS

IdentityType string

The identity type of the endpoint verified

IdentityEndpoint number

The number verified

Country string

The country ID (ISO 3166–1 alpha-2) of the number verified

Reference string

Partner reference id

Custom object

Free field to be used as custom information

ApplicationKey string

Application key

Amount decimal

Debited amount for the verification

Currency string

Currency

The files are generated once daily and contain the previous days' CDRs. A day spans from 00:00:00 UTC to 23:59:59 UTC. CDRs are written when the call is ended, though there are some edge cases where an app-app call CDR may be delayed in being written, for example, if there is a network failure before the call is ended.

CDR files can be downloaded from the developer portal. Upon request, the CDR files can also be uploaded to an S3 bucket that your company provides and to which Sinch has write access.

Was this page helpful?
Still have a question? Ask the community.