Get CSV File of Export
Returns a single .csv.gz file for corresponding Export.
Attention
Exported File Format
The exported file contains call detail records (CDRs) in CSV format.
Inbound CDRs
Column |
Type |
Description |
|---|---|---|
Date/Time Start (UTC) |
|
Call start timestamp in UTC. |
Date/Time Connect (UTC) |
|
Call answer timestamp in UTC. |
Date/Time End (UTC) |
|
Call end timestamp in UTC. |
Status |
|
Call status. |
Source |
|
Source number. |
Source Name |
|
Caller name. |
Destination DID |
|
Destination DID number. |
Duration (sec) |
|
Call duration in seconds. |
Attempt |
|
Call attempt number. |
Disconnect Code |
|
Disconnect code. |
Response |
|
SIP response or system response. |
Disconnect Initiator |
|
Entity that initiated call termination. |
Voice IN Trunk |
|
Voice In trunk identifier or name. |
Destination |
|
Destination number. |
Trunk Group |
|
Associated trunk group. |
Capacity Group |
|
Associated capacity group. |
Toll-free (USD) |
|
Toll-free cost in USD. |
PSTN (USD) |
|
PSTN cost in USD. |
Metered (USD) |
|
Metered cost in USD. |
CNAM IN (USD) |
|
CNAM lookup cost in USD. |
Total (USD) |
|
Total cost in USD. |
Call ID |
|
Unique call identifier. |
Outbound CDRs
Column |
Type |
Description |
|---|---|---|
Date/Time Start (UTC) |
|
Call start timestamp in UTC. |
Date/Time Connect (UTC) |
|
Call answer timestamp in UTC. |
Date/Time End (UTC) |
|
Call end timestamp in UTC. |
Status |
|
Call status. |
Source |
|
Source number. |
CLI |
|
Calling Line Identification. |
Destination Number |
|
Destination number. |
Call Duration (sec) |
|
Call duration in seconds. |
Billing Duration (sec) |
|
Billed duration in seconds. |
Disconnect Code |
|
Disconnect code. |
Disconnect Reason |
|
Disconnect reason description. |
Voice OUT Trunk |
|
Voice Out trunk identifier or name. |
Destination Country |
|
Destination country. |
Network |
|
Destination network. |
Call Type |
|
Call type classification. |
Rate (USD) |
|
Rate per unit in USD. |
Charged (USD) |
|
Charged amount in USD. |
P-Charge-Info |
|
Charging information header. |
Call ID |
|
Unique call identifier. |
Request
HTTP Method: GET
URI Path: /v3/exports/{filename}.csv.gz
Note
For all returned data attributes, see Export Object.
URI Parameters
Name |
Type |
Is Required? |
Description |
|---|---|---|---|
filename |
|
Yes |
Unique filename of completed CDR Export. |
Examples
http
GET /v3/exports/a4f6b765-f20c-45c7-98d2-80c2f3a41517.csv.gz HTTP/1.1
Host: api.didww.com
Api-Key: [API token]
curl
curl -i -X GET https://api.didww.com/v3/exports/a4f6b765-f20c-45c7-98d2-80c2f3a41517.csv.gz -H "Api-Key: [API token]"
Other Responses
Code |
Success |
Description |
|---|---|---|
404 |
No |
Not Found (without body) |
401 |
No |