List voice logs
Lists historical voice activity in the project across supported call types. It includes calls handled by cXML, by SWML, and through the Calling API; SWML and Calling API calls aren’t in the Compatibility Calls list. Use it for usage reporting, billing review, and troubleshooting, not live call control. Place or control calls through Send call commands or the Compatibility Calls API instead.
Results are sorted newest first. Each links.next URL carries your filters along with the page_token for the next page, so follow it as given.
Lists return at most one year of history. Logs created before the start of the UTC day one year ago are never returned. A created_before, created_on, or created_after value earlier than that returns 422 with the code exceeds_history_logs_limit.
Permissions
The API token used to authenticate must have the following scope enabled to make a successful request: Calling.
Authentication
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example:
Authorization: Basic base64(project_id:token)
Query parameters
Return logs created at or before this time. Accepts a date (YYYY-MM-DD), an ISO 8601 timestamp, or Unix time in seconds. A date is read as midnight UTC at the start of that day, so logs from that day are left out. A timestamp without Z or a UTC offset is read as UTC.
Return logs created during this UTC day. Accepts the same formats as created_before. A timestamp selects the whole UTC day that contains it.
Return logs created at or after this time. Accepts the same formats as created_before. A date is read as midnight UTC at the start of that day, so logs from that day are included.
The page index, starting at 0. Any value above 0 also requires page_token.
The number of results per page. The default is 50 and the maximum is 1000.
The cursor for any page after the first. Take it from the links.next or links.prev URL of the previous response.