Skip to main content

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

Responses

200: List of audit log entries

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
}
}