Skip to main content
POST
/
ddex
/
delivery
/
retry
/
{messageId}
Retry delivery for a failed message
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/ddex/delivery/retry/{messageId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "resetAttempts": false
}'
{
  "status": "<string>",
  "data": {
    "messageId": "<string>",
    "jobId": "<string>",
    "status": "retry_queued",
    "previousAttempts": 123
  }
}

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/ddex/delivery/retry/example-id', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "resetAttempts": true
  })
});

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
resetAttempts
boolean
default:false

Response

Accepted - Retry queued

status
string
data
object