Export CDRs
Changed onStreams matching call detail records as newline-delimited JSON (NDJSON), one record per line, for bulk export.
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/cdrs/all
- AuthHTTP bearer
Query parameters
Start of the date range to query, in YYYY-MM-DD format. Inclusive.
End of the date range to query, in YYYY-MM-DD format. Inclusive.
Filters CDRs by call direction. One of placed (outbound calls dialed by the account) or received (inbound calls answered by the account).
Final disposition of the call. One of answered (the called party answered), noanswer (no answer within the ring timeout), busy (the called party was busy), failed (the call could not be routed), or all (matches any disposition when used as a filter).
Filters CDRs by call disposition. One of answered (the called party answered), noanswer (no answer within the ring timeout), busy (the called party was busy), failed (the call could not be routed), or all (no disposition filter).
Filters CDRs by originating phone number. Accepts a full or partial number.
Filters CDRs by destination phone number. Accepts a full or partial number.
Filters outbound CDRs by SIP trunk login. Ignored for inbound calls.
Filters CDRs by the unique call ID.
Page number to retrieve. Default 1.
Number of records to return per page. Default 25.
Response
Returns an NDJSON stream of CDRs, one record per line.
Changes
- breaking
the
queryrequest parameterdispositionwas restricted to a list of enum values - info
added the new enum value
allto thequeryrequest parameterdisposition - info
added the new enum value
answeredto thequeryrequest parameterdisposition - info
added the new enum value
busyto thequeryrequest parameterdisposition - info
added the new enum value
failedto thequeryrequest parameterdisposition - info
added the new enum value
noanswerto thequeryrequest parameterdisposition - info
for the
queryrequest parameterdisposition, the type was generalized from no type tostring - info
added the non-success response with the status
- breaking
- info
endpoint added
- info