Skip to main content
POST
/
releases
/
{id}
/
tracks
Create a new track (release asset)
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/releases/{id}/tracks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Hit Single",
  "version": "Radio Edit",
  "isrc": "USABC1234567",
  "iswc": "T-123456789-0",
  "duration": 213,
  "lyrics": "<string>",
  "language": "en",
  "displayArtist": "Artist Name",
  "artists": {}
}'
{
  "success": true,
  "data": {
    "title": "Hit Single",
    "version": "Radio Edit",
    "isrc": "USABC1234567",
    "iswc": "T-123456789-0",
    "duration": 213,
    "lyrics": "<string>",
    "language": "en",
    "displayArtist": "Artist Name",
    "artists": {}
  },
  "message": "Track created successfully"
}
Adds a new track to the specified release. Only allowed for releases in โ€˜draftโ€™ or โ€˜rejectedโ€™ status.

Authentication

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

Path Parameters

ParameterTypeInRequiredDescription
idstringpathโœ…Release ID

Request Body

Responses

โœ… 201 - Track created successfully

โš ๏ธ 400 - undefined

โš ๏ธ 401 - undefined

โš ๏ธ 404 - undefined

โŒ 500 - undefined

Tags

Release Asset

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Release ID

Body

application/json
title
string
required
Example:

"Hit Single"

displayArtist
string
required
Example:

"Artist Name"

version
string | null
Example:

"Radio Edit"

isrc
string | null
Example:

"USABC1234567"

iswc
string | null
Example:

"T-123456789-0"

duration
number | null
Example:

213

lyrics
string | null
language
string
default:en
Example:

"en"

artists
object

Response

Track created successfully

success
boolean
Example:

true

data
object
message
string
Example:

"Track created successfully"

โŒ˜I