Using the following request url I can get the most recent 1000 calls from the call log. This is about 3 days of calls.
If I wanted to get call logs starting in January 2017 how would I go about doing that?
P.S. You can use only 'dateFrom', or only 'dateTo', or both.
According to documentation, date format is ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z.
Is there a parameter to sort the records?
For example, if I use dateFrom=2017-01-01 and dateTo=2017-01-31 and there are more then 1000 records I get the last 1000 starting from 2017-01-31. Is there a sort parameter so I could get the first 1000 records starting from 2017-01-01?
There isn't such a parameter. You have to fetch the data then do sorting in your code.