This endpoint requires authentication. Include your Bearer token in the Authorization header.
 
Code Examples
const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/artist/example-id/splits', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "splits": [
      {
        "TenantUserId": "sample-TenantUserId",
        "share": 1,
        "type": "sample-type"
      }
    ]
  })
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Splits created successfully
Example:"Splits created successfully"