Exporting Inbound Service Call Logs (CDR) in CSV Format

Application developers may wish to access CDR feeds from Inbound services via an API call to facilitate integration of services and systems.

This article outlines how to access this data in CSV format via either HTTP or HTTPS.


The URL and Fields 

You can export your call logs via URL using the following string.  Replace the values in bold with those appropriate for your query.





Your portal username



Your portal password



The period over which the export should run.  One of:

live  -  Today, up to the minute

30day  -  The previous 30 days (exc today)

60day  -  The previous 60 days (exc today)



Determines whether the response will be 'inline' data or 'attachment' data.  Inline data returns the CSV data as the inline HTML response.  If you remove this section of the URL, data will instead be sent in attachment format, which forces the browser to treat the CSV as a file download, rather than a web page.  Most retrieval methods (cURL, wget, etc.) prefer inline.



A working example would look something like...




HTTP Alternative 

If HTTPS is unsuitable for your application, the same API is also available on HTTP.  Simply remove the 's' from https and change the port to 16,000.


For example:   



Some development environments (such as .NET) don't always get along well with HTTPS, so this can be used as an alternative.


Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk