This ecosystem's message log, newest first (owner/admin)
Authenticate every request with Authorization: Bearer <token> — a JWT or API token.
Download OpenAPI JSONOverview
GET
/messaging/ecosystems/{id}/logmessagingThis ecosystem's message log, newest first (owner/admin)
Fetch a record from log by id.
Auth: bearerAuth — calls run as the authenticated user.
Parameters
- idpathstring
- pagequery · optionalstring
- pageSizequery · optionalstring
Responses
200
Message-log page
- itemsMessagingLogEntry[]
- totalinteger
- pageinteger
- pageSizeinteger
Example
{
"items": [
{
"id": "string",
"customerId": "string",
"deletedAt": "string",
"ecosystemId": "string",
"channel": "email",
"recipient": "string",
"subject": "string",
"body": "string",
"templateId": "string",
"status": "sent",
"providerId": "string",
"errorMessage": "string",
"sentBy": "string",
"origin": "platform",
"createdAt": "string"
}
],
"total": 0,
"page": 0,
"pageSize": 0
}401
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}403
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}404
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/messaging/ecosystems/{id}/log" \
-H "Authorization: Bearer YOUR_TOKEN"JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/messaging/ecosystems/{id}/log", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
},
});
const data = await res.json();