Skip to main content
POST
/
ddex
/
delivery
/
deliver
/
{messageId}
Queue message delivery
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/ddex/delivery/deliver/{messageId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "priority": "normal",
  "scheduleDelivery": "2023-11-07T05:31:56Z"
}'
{
  "status": "<string>",
  "data": {
    "messageId": "<string>",
    "jobId": "<string>",
    "status": "queued_for_delivery",
    "priority": "<string>",
    "scheduledDeliveryAt": "2023-11-07T05:31:56Z"
  }
}

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/ddex/delivery/deliver/example-id', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "priority": "sample-priority",
    "scheduleDelivery": "2024-01-21T12:00:00Z"
  })
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

messageId
string
required

Body

application/json
priority
enum<string>
default:normal
Available options:
low,
normal,
high
scheduleDelivery
string<date-time>

Response

Accepted - Delivery queued

status
string
data
object