curl --request GET \
--url https://api.royalti.io/ddex/delivery/status/{messageId} \
--header 'Authorization: Bearer <token>'{
"status": "<string>",
"data": {
"messageId": "<string>",
"deliveryStatus": "<string>",
"deliveryAttempts": 123,
"lastDeliveryAttempt": "2023-11-07T05:31:56Z",
"scheduledDeliveryAt": "2023-11-07T05:31:56Z",
"acknowledgementReceived": "2023-11-07T05:31:56Z",
"lastDeliveryError": "<string>",
"queueStatus": {},
"ernDeliveries": [
{
"messageId": "<string>",
"providerId": "<string>",
"deliveryStatus": "pending",
"deliveryMethod": "SFTP",
"deliveryAttempts": 123,
"deliveredAt": "2023-11-07T05:31:56Z",
"acknowledgedAt": "2023-11-07T05:31:56Z",
"errorMessage": "<string>"
}
],
"statusHistory": [
{
"status": "draft",
"statusDate": "2023-11-07T05:31:56Z",
"details": {},
"errorCode": "<string>",
"errorMessage": "<string>"
}
],
"provider": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"code": "<string>",
"dpid": "<string>",
"category": "streaming",
"defaultDeliveryMethod": "SFTP",
"deliveryMethods": [
"SFTP"
],
"territories": [
"<string>"
],
"supportedFormats": [
"<string>"
],
"technicalSpecs": {},
"rateLimits": {},
"acknowledgementSettings": {},
"description": "<string>",
"isActive": true,
"website": "<string>",
"documentation": "<string>"
}
}
}Get delivery status for a message
curl --request GET \
--url https://api.royalti.io/ddex/delivery/status/{messageId} \
--header 'Authorization: Bearer <token>'{
"status": "<string>",
"data": {
"messageId": "<string>",
"deliveryStatus": "<string>",
"deliveryAttempts": 123,
"lastDeliveryAttempt": "2023-11-07T05:31:56Z",
"scheduledDeliveryAt": "2023-11-07T05:31:56Z",
"acknowledgementReceived": "2023-11-07T05:31:56Z",
"lastDeliveryError": "<string>",
"queueStatus": {},
"ernDeliveries": [
{
"messageId": "<string>",
"providerId": "<string>",
"deliveryStatus": "pending",
"deliveryMethod": "SFTP",
"deliveryAttempts": 123,
"deliveredAt": "2023-11-07T05:31:56Z",
"acknowledgedAt": "2023-11-07T05:31:56Z",
"errorMessage": "<string>"
}
],
"statusHistory": [
{
"status": "draft",
"statusDate": "2023-11-07T05:31:56Z",
"details": {},
"errorCode": "<string>",
"errorMessage": "<string>"
}
],
"provider": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"code": "<string>",
"dpid": "<string>",
"category": "streaming",
"defaultDeliveryMethod": "SFTP",
"deliveryMethods": [
"SFTP"
],
"territories": [
"<string>"
],
"supportedFormats": [
"<string>"
],
"technicalSpecs": {},
"rateLimits": {},
"acknowledgementSettings": {},
"description": "<string>",
"isActive": true,
"website": "<string>",
"documentation": "<string>"
}
}
}const response = await fetch('https://api.royalti.io/ddex/delivery/status/example-id', {
method: 'GET',
});
const data = await response.json();
console.log(data);