Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/ddex/messages/{messageId}/download \
  --header 'Authorization: Bearer <token>'{
  "status": "<string>",
  "data": {
    "messageId": "<string>",
    "downloadUrl": "<string>",
    "expiresAt": "2023-11-07T05:31:56Z",
    "format": "<string>",
    "fileSize": 123
  }
}Get a signed download URL for a message
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/ddex/messages/{messageId}/download \
  --header 'Authorization: Bearer <token>'{
  "status": "<string>",
  "data": {
    "messageId": "<string>",
    "downloadUrl": "<string>",
    "expiresAt": "2023-11-07T05:31:56Z",
    "format": "<string>",
    "fileSize": 123
  }
}const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/ddex/messages/example-id/download', {
  method: 'GET',
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"