Skip to main content
POST
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

/split/default Description:
The /split/default endpoint creates splits using either provided shares or an artist’s default splits. It automatically associates the split with an asset or product and validates that the total share equals 100%.
Authorization:
  • Required role: admin or higher
Method:
POST
Request Body: The request body should be a JSON object with the following properties. Either assetId or productId is required. Split Share Object:

Code Examples

Authorizations

Authorization
string
header
required

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

Body

application/json
assetId
string<uuid>
required

UUID of the asset to create splits for (required if productId not provided)

split
object[]

Array of split share objects

productId
string<uuid>

UUID of the product to create splits for (required if assetId not provided)

type
string
default:default

Type of split (defaults to 'default' if not provided)

Response

Created

message
string
Example:

"Split created successfully"

split
object
source
enum<string>

Indicates whether the split was created from manual input or artist defaults

Available options:
manual,
artist_default