curl --request GET \
--url https://api.royalti.io/split/ \
--header 'Authorization: Bearer <token>'{
"totalItems": 55,
"Splits": [
{
"id": "a8787d14-1149-4b10-9e29-7ef054de8c3f",
"ProductId": null,
"AssetId": "0518ea7b-222b-4851-8232-9ec909730fab",
"name": "USqwEAB7654321: Your Song",
"type": null,
"contract": null,
"ContractId": null,
"conditions": null,
"SplitShares": [
{
"UserId": "91f1d1bd-ef25-4990-bd4f-aeee696c73a9",
"Share": 40,
"User": {
"firstName": "taylor slow",
"lastName": "staff"
}
},
{
"UserId": "9ea08acc-e135-4bd9-b159-48339ff65061",
"Share": 30,
"User": {
"firstName": "John",
"lastName": "Doe"
}
}
]
}
]
}Get All Revenue Split Configurations
curl --request GET \
--url https://api.royalti.io/split/ \
--header 'Authorization: Bearer <token>'{
"totalItems": 55,
"Splits": [
{
"id": "a8787d14-1149-4b10-9e29-7ef054de8c3f",
"ProductId": null,
"AssetId": "0518ea7b-222b-4851-8232-9ec909730fab",
"name": "USqwEAB7654321: Your Song",
"type": null,
"contract": null,
"ContractId": null,
"conditions": null,
"SplitShares": [
{
"UserId": "91f1d1bd-ef25-4990-bd4f-aeee696c73a9",
"Share": 40,
"User": {
"firstName": "taylor slow",
"lastName": "staff"
}
},
{
"UserId": "9ea08acc-e135-4bd9-b159-48339ff65061",
"Share": 30,
"User": {
"firstName": "John",
"lastName": "Doe"
}
}
]
}
]
}| Parameter | Type | Description |
|---|---|---|
| page | number | (Optional) The page number for pagination. Default is 1 |
| size | number | (Optional) The number of items per page. Default is 10 |
| include | string | (Optional) Specify ‘count’ to include the total count of items |
| asset | string | (Optional) Filter by asset UUID |
| product | string | (Optional) Filter by product UUID |
| type | string | (Optional) Filter by revenue split type |
| user | string | (Optional) Filter by user UUID |
| q | string | (Optional) Search query |
| sort | string | (Optional) Field to sort by |
| order | string | (Optional) Sort order (asc/desc) |
const response = await fetch('https://api.royalti.io/split/', {
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
The page number for pagination
The number of items per page
Specify 'count' to include the total count of items
Filter by asset UUID
Filter by product UUID
Filter by revenue split type
Filter by user UUID
Search query
Field to sort by
Sort order (asc/desc)
asc, desc Include temporal coverage analysis for splits with date ranges