List Logs
GET/logs
List the available logs.
Permissions
The API token must include the following scopes: Voice.
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",
"direction": "inbound",
"status": "initiated",
"duration": 0,
"duration_ms": 0,
"billing_ms": 0,
"source": "laml",
"type": "laml_call",
"url": "string",
"charge": "0.01",
"charge_details": [],
"created_at": "2024-07-29T15:51:28.071Z"
}
]
}