curl --request GET \
--url https://api.royalti.io/ddex/delivery/logs/{messageId} \
--header 'Authorization: Bearer <token>'{
"status": "<string>",
"data": {
"messageId": "<string>",
"logs": [
{
"messageId": "<string>",
"providerId": "<string>",
"deliveryStatus": "pending",
"deliveryMethod": "SFTP",
"deliveryAttempts": 123,
"deliveredAt": "2023-11-07T05:31:56Z",
"acknowledgedAt": "2023-11-07T05:31:56Z",
"errorMessage": "<string>"
}
],
"pagination": {
"totalItems": 123,
"totalPages": 123,
"currentPage": 123,
"filteredItems": 123
}
}
}Get delivery logs for a message
curl --request GET \
--url https://api.royalti.io/ddex/delivery/logs/{messageId} \
--header 'Authorization: Bearer <token>'{
"status": "<string>",
"data": {
"messageId": "<string>",
"logs": [
{
"messageId": "<string>",
"providerId": "<string>",
"deliveryStatus": "pending",
"deliveryMethod": "SFTP",
"deliveryAttempts": 123,
"deliveredAt": "2023-11-07T05:31:56Z",
"acknowledgedAt": "2023-11-07T05:31:56Z",
"errorMessage": "<string>"
}
],
"pagination": {
"totalItems": 123,
"totalPages": 123,
"currentPage": 123,
"filteredItems": 123
}
}
}const response = await fetch('https://api.royalti.io/ddex/delivery/logs/example-id', {
method: 'GET',
});
const data = await response.json();
console.log(data);