List Telephony Logs
Returns a list of telephony log events. Only the 1000 earliest events will be returned; you may need to call this multiple times with mintime
to page through the entire log.
Requires "Grant read log" API permission.
We recommend requesting logs no more than once per minute.
Parameters
Parameter | Description |
---|---|
Minimum Time | Only return records that have a Unix timestamp in seconds after mintime . This can help to avoid fetching records that have already been retrieved. |
Example Output
{
"stat": "OK",
"response": [
{
"context": "authentication",
"credits": 1,
"isotimestamp": "2020-03-20T15:38:12+00:00",
"phone": "+15035550100",
"timestamp": 1584718692,
"type": "sms"
}
]
}
Workflow Library Example
List Telephony Logs with Duo and Send Results Via Email