curl --request POST \
--url https://api.royalti.io/defaultsettings/preview/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"artistId": "660e8400-e29b-41d4-a716-446655440001",
"labelId": "770e8400-e29b-41d4-a716-446655440002",
"targetType": "release"
}
'{
"success": true,
"message": "Defaults resolved successfully",
"data": {
"resolved": {
"content": {
"type": "Audio",
"format": "Single",
"version": "<string>",
"explicit": "explicit",
"language": "<string>",
"mainGenre": [
"<string>"
],
"subGenre": [
"<string>"
],
"contributors": {}
},
"business": {
"label": "<string>",
"copyright": "<string>",
"publisher": "<string>",
"copyrightOwner": "<string>",
"distribution": "<string>",
"status": "Live"
},
"ddex": {
"enableDDEX": true,
"labelName": "<string>",
"resourceReference": "<string>",
"grid": "<string>",
"icpn": "<string>"
},
"validation": {
"requireGenre": true,
"requireLyrics": true,
"requireDescription": true,
"minimumTrackCount": 1,
"maximumTrackCount": 2
}
},
"chain": [
{
"entityType": "<string>",
"entityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<string>",
"settings": {
"content": {
"type": "Audio",
"format": "Single",
"version": "<string>",
"explicit": "explicit",
"language": "<string>",
"mainGenre": [
"<string>"
],
"subGenre": [
"<string>"
],
"contributors": {}
},
"business": {
"label": "<string>",
"copyright": "<string>",
"publisher": "<string>",
"copyrightOwner": "<string>",
"distribution": "<string>",
"status": "Live"
},
"ddex": {
"enableDDEX": true,
"labelName": "<string>",
"resourceReference": "<string>",
"grid": "<string>",
"icpn": "<string>"
},
"validation": {
"requireGenre": true,
"requireLyrics": true,
"requireDescription": true,
"minimumTrackCount": 1,
"maximumTrackCount": 2
}
},
"priority": 123
}
]
}
}POST /defaultsettings/preview/resolve
curl --request POST \
--url https://api.royalti.io/defaultsettings/preview/resolve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"artistId": "660e8400-e29b-41d4-a716-446655440001",
"labelId": "770e8400-e29b-41d4-a716-446655440002",
"targetType": "release"
}
'{
"success": true,
"message": "Defaults resolved successfully",
"data": {
"resolved": {
"content": {
"type": "Audio",
"format": "Single",
"version": "<string>",
"explicit": "explicit",
"language": "<string>",
"mainGenre": [
"<string>"
],
"subGenre": [
"<string>"
],
"contributors": {}
},
"business": {
"label": "<string>",
"copyright": "<string>",
"publisher": "<string>",
"copyrightOwner": "<string>",
"distribution": "<string>",
"status": "Live"
},
"ddex": {
"enableDDEX": true,
"labelName": "<string>",
"resourceReference": "<string>",
"grid": "<string>",
"icpn": "<string>"
},
"validation": {
"requireGenre": true,
"requireLyrics": true,
"requireDescription": true,
"minimumTrackCount": 1,
"maximumTrackCount": 2
}
},
"chain": [
{
"entityType": "<string>",
"entityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"category": "<string>",
"settings": {
"content": {
"type": "Audio",
"format": "Single",
"version": "<string>",
"explicit": "explicit",
"language": "<string>",
"mainGenre": [
"<string>"
],
"subGenre": [
"<string>"
],
"contributors": {}
},
"business": {
"label": "<string>",
"copyright": "<string>",
"publisher": "<string>",
"copyrightOwner": "<string>",
"distribution": "<string>",
"status": "Live"
},
"ddex": {
"enableDDEX": true,
"labelName": "<string>",
"resourceReference": "<string>",
"grid": "<string>",
"icpn": "<string>"
},
"validation": {
"requireGenre": true,
"requireLyrics": true,
"requireDescription": true,
"minimumTrackCount": 1,
"maximumTrackCount": 2
}
},
"priority": 123
}
]
}
}POST
Request Body:
| Parameter | Type | Description | Required |
|---|---|---|---|
| labelId | uuid | Label context | No |
| artistId | uuid | Artist context | No |
| userId | uuid | User context (defaults to authenticated user) | No |
| targetType | string | Target type (asset, product, release) | No |
const response = await fetch('https://api.royalti.io/defaultsettings/preview/resolve', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
"labelId": "sample-labelId",
"artistId": "sample-artistId",
"userId": "sample-userId",
"targetType": "sample-targetType"
})
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"