List Audit Logs
GET/audit_events
List all audit log entries. Audit logs are a best-effort, eventually consistent record of significant account related changes.
Request
Query Parameters
page[number] number
Page number to load
page[size] number
Size of the page
filter[created_before] date-time
Filter for audit events created before a specific date.
filter[created_after] date-time
Filter for audit events created after a specific date.
sort string
Possible values: [asc
, desc
]
Set how the results will be ordered by the creation date.
Responses
200: List of audit log entries
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/audit_events' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"record_type": "audit_event",
"resource_id": "string",
"organization_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"changes": [
{
"field": "inbound.timeout_1xx_secs"
}
],
"change_made_by": "account_owner",
"resource_type": "string",
"change_type": "string",
"created_at": "2020-01-01T00:00:00Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}