Skip to main content
GET
/
ddex
/
messages
List DDEX messages
curl --request GET \
  --url https://api.royalti.io/ddex/messages \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "data": {
    "items": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "messageId": "<string>",
        "messageType": "ERN",
        "version": "<string>",
        "providerId": "<string>",
        "productId": "<string>",
        "assetIds": [
          "<string>"
        ],
        "artistId": "<string>",
        "status": "pending",
        "fileSize": 123,
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "pagination": {
      "totalItems": 123,
      "totalPages": 123,
      "currentPage": 123,
      "filteredItems": 123
    }
  }
}

Code Examples

const response = await fetch('https://api.royalti.io/ddex/messages', {
  method: 'GET',
});

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

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer
default:1
limit
integer
default:20
status
string
messageType
enum<string>
Available options:
ERN,
MEAD,
PIE
providerId
string

Response

Success

status
string
data
object