POST
/
user
/
bulk
/
entity
Create Bulk Entity
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/user/bulk/entity \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": [
    {
      "artistName": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "email": "jsmith@example.com",
      "splitShare": 123
    }
  ],
  "sendEmail": true,
  "redirect_url": "<string>"
}'
{
  "message": "Bulk entity creation completed.",
  "createdEntities": [
    {
      "artistName": "Melodic Harmony",
      "userName": "Emma Johnson"
    }
  ],
  "processedCount": 1,
  "errors": [
    "Invalid email format for Michael Chen",
    "Invalid split share percentage for Sonic Wave"
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

Success - Bulk entity creation completed

The response is of type object.