Fetch Logs
Get Logs
GET
https://api.oneroute.io/api/public
/logs?page[size]=10&page[number]=1
This endpoint allows you to fetch logs
Query Parameters
Name
Type
Description
Required
page[size]
number
page limit
page[number]
number
page number
id
string
id of the log
campaign_id
string
campaign id
identifier
string
identifier
Headers
Name
Type
Description
apiKey
string
API Key for authentication.
```json
{
"count": 7,
"data": [
{
"id": "acebf1b3-4df0-408b-971d-b533296ff0e6",
"externalId": "123488990267",
"status": "delivered",
"reason": null,
"from": "234790097862",
"to": "+2348752653027",
"units": 0,
"delivered_time": null,
"createdAt": "2024-11-04T16:01:57.385Z",
"campaign_id": "f1005383-7d8d-4351-b3cb-f0063ce10557",
"identifier": "f1005383-7d8d-4351"
}
],
"currentPage": 1,
"totalPage": 1,
"message": "logs data",
"success": true
}
```
Last updated
Was this helpful?