Skip to main content
GET
/
artist
/
{id}
/
splits
Get all default splits for an artist
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/artist/{id}/splits \
  --header 'Authorization: Bearer <token>'
{
  "message": "Successful",
  "result": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "artistId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "type": "master",
      "splits": [
        {
          "recipientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "recipientType": "user",
          "percentage": 50,
          "role": "<string>"
        }
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}
artist//splits Description:
Retrieves all default splits for a specific artist, grouped by split type.
Method:
GET
Path Parameter:
ParameterTypeDescription
idstringThe unique identifier of the artist.
Response Includes:
  • Split details including type, share, and associated tenant user information
  • Sorted by type (ascending) and creation date (newest first)

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Path Parameters

ParameterTypeInRequiredDescription
idstringpathArtist ID

Responses

✅ 200 - Success

⚠️ 401 - undefined

⚠️ 404 - undefined

❌ 500 - undefined

Tags

Artist

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Artist ID

Response

Success

message
string
Example:

"Successful"

result
object[]
I