List Logs
GET/logs
List the available logs.
Permissions
The API token must include the following scopes: Fax.
Request
Query Parameters
include_deleted boolean
Include logs for deleted activity.
Example: false
created_before string
Return logs for activity prior to this date.
Example: 2022-04-30
created_on string
Return logs for activity on this date.
Example: 2022-04-30
created_after string
Return logs for activity after this date.
Example: 2022-04-30
page_size integer
Specify the number of results to return on a single page. The default page size is 50
and the maximum is 1000
.
Example: 20
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
links
object
self string
first string
next string
prev string
data object[]
{
"links": {
"self": "string",
"first": "string",
"next": "string",
"prev": "string"
},
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"from": "+12065551212",
"to": "+12065553434",
"status": "completed",
"direction": "outbound",
"source": "laml",
"type": "laml_call",
"url": "string",
"remote_station": "string",
"charge": "0.01",
"number_of_pages": "2",
"quality": "fine",
"charge_details": [],
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"error_code": "34004",
"error_message": "The call dropped prematurely"
}
]
}