Skip to main content
POST
/
ddex
/
messages
/
{messageId}
/
validate
Validate a DDEX message
curl --request POST \
  --url https://api.royalti.io/ddex/messages/{messageId}/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "validationType": "Full"
}
'
{
  "workflowId": "<string>",
  "status": "<string>",
  "estimatedCompletion": "2023-11-07T05:31:56Z"
}

Code Examples

const response = await fetch('https://api.royalti.io/ddex/messages/example-id/validate', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "validationType": "sample-validationType"
  })
});

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
validationType
string
default:Full

Validation mode

Response

Accepted - Validation flow started

workflowId
string
status
string
estimatedCompletion
string<date-time>