curl --request GET \
--url https://api.royalti.io/checklist/allsplits \
--header 'Authorization: Bearer <token>'[
{
"id": "p1b2c3d4-e5f6-7890-1234-567890abcdef"
},
{
"id": "p1b2c3d4-e5f6-7890-1234-567890abcdef"
}
]/checklist/allsplits
curl --request GET \
--url https://api.royalti.io/checklist/allsplits \
--header 'Authorization: Bearer <token>'[
{
"id": "p1b2c3d4-e5f6-7890-1234-567890abcdef"
},
{
"id": "p1b2c3d4-e5f6-7890-1234-567890abcdef"
}
]x-tenant-id: Required. The tenant IDAuthorization: Required. Bearer token for authenticationconst response = await fetch('https://api.royalti.io/checklist/allsplits', {
method: 'GET',
headers: {
'Authorization': `Bearer ${token}`,
},
});
const data = await response.json();
console.log(data);