Create Export#

Attention

Please note that the Inbound/Outbound CDR export is available for current + 2 last months.

Creates a single Export. DIDWW performs deletion of CDR Export in 1 month after completion.

Request#

HTTP Method: POST

URI Path: /v3/exports

Request Body Object Attributes#

Name

Type

Nullable

Is Required?

Description

filters

CDR Export Filters Object

False

Yes

Filters

callback_url

string

True

No

The HTTP or HTTPS endpoint to where events related to export will be delivered.

callback_method

string

True

No

The HTTP Method used for export events. post and get are supported methods.

external_reference_id

string

True

No

Optional identifier for the export in the customer’s external system. Maximum length is 100 characters.

See Export callback details for information about callback_url, callback_method, and the Export callback payload.

Filters by Export Type#

Name

Type

Is Required?

Description

from

string

Yes

Start date and time of the CDR range.

to

string

Yes

End date and time of the CDR range.

did_number

string

No

CDR export for a specified DID number. If the ‘did_number’ parameter is not used, CDRs are exported for all owned DID numbers.

Examples#

http

 1POST /v3/exports HTTP/1.1
 2Host: api.didww.com
 3Content-Type: application/vnd.api+json
 4Accept: application/vnd.api+json
 5Api-Key: [API token]
 6
 7{
 8  "data": {
 9    "type": "exports",
10    "attributes": {
11      "export_type": "cdr_in",
12      "filters": {
13        "from": "2025-12-01T00:00:00Z",
14        "to": "2025-12-31T23:59:59Z",
15        "did_number": "123456789"
16      }
17    }
18  }
19}

curl

1curl -i -X POST https://api.didww.com/v3/exports -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json" --data-raw '{"data": {"attributes": {"export_type": "cdr_in", "filters": {"did_number": "123456789", "from": "2025-12-01T00:00:00Z", "to": "2025-12-31T23:59:59Z"}}, "type": "exports"}}'

response

 1HTTP/1.1 201 Created
 2Content-Type: application/vnd.api+json
 3
 4{
 5  "data": {
 6    "id": "33bdfff7-4de3-4c58-8c90-b99930fb984a",
 7    "type": "exports",
 8    "attributes": {
 9      "status": "pending",
10      "created_at": "2025-12-16T06:39:44.465Z",
11      "external_reference_id": null,
12      "url": null,
13      "callback_url": null,
14      "callback_method": null,
15      "export_type": "cdr_in",
16      "filters": {
17        "from": "2025-12-01T00:00:00Z",
18        "to": "2025-12-31T23:59:59Z",
19        "did_number": "123456789"
20      }
21    }
22  },
23  "meta": {
24    "api_version": "2026-04-16"
25  }
26}

Other Responses#

Code

Success

Description

422

No

Unprocessable Entity

401

No

Unauthorized