Skip to main content
GET
/
cdr
/
all
Get CDRs in NDJSON format
curl --request GET \
  --url https://api.wavix.com/v1/cdr/all
"{\"charge\":\"0.0059\",\"date\":\"2023-08-28T15:43:31.000Z\",\"destination\":\"My trunk\",\"disposition\":\"answered\",\"duration\":26,\"forward_fee\":\"0.0\",\"from\":\"13524815863\",\"per_minute\":\"0.0059\",\"to\":\"12565378257\",\"uuid\":\"99df5ffd-962a-410f-bcce-d08f1f7f328c\"}\n{\"charge\":\"0.00325\",\"date\":\"2023-11-29T14:48:50.000Z\",\"destination\":\"United States\",\"disposition\":\"answered\",\"duration\":21,\"from\":\"17182444444\",\"per_minute\":\"0.0065\",\"to\":\"18007009909\",\"uuid\":\"aa566501-c591-4a8b-b3b9-cc1295398b72\",\"forward_fee\":\"0.003\"}"

Authorizations

appid
string
query
required

An API key to authorize your request

Query Parameters

from
string<date>
required

Start date of your search time range, in yyyy-mm-dd format

Example:

"2023-01-01T00:00:00.000Z"

to
string<date>
required

End date of your search time range, in yyyy-mm-dd format.

Example:

"2023-09-01T00:00:00.000Z"

type
string
required

Use placed to get CDRs for outbound calls or received for inbound calls.

Example:

"received"

disposition
enum<string>

Filter calls by disposition. In case the parameter is not specified, only answered calls are returned. To get all calls regardless their disposition pass all as the parameter value Call disposition

Available options:
answered,
noanswer,
busy,
failed,
all

Filter results by the originating phone number. The parameter can be either full phone number or a part of it.

Example:

"13524815863"

Filter results by destination phone number. The parameter can be either full phone number or a part of it.

Example:

"12565378257"

sip_trunk
string

Filter results by the unique SIP trunk login used to place an outbound call. For inbound calls, this parameter is ignored.

Example:

"12321"

uuid
string

Filter results by Call ID

Example:

"99df5ffd-962a-410f-bcce-d08f1f7f328c"

page
integer

Requested page

Example:

1

per_page
integer
default:25

Number of records per page

Example:

25

Response

Streaming NDJSON response with CDR records.

NDJSON stream of CDR records, one JSON object per line

I