Create Track
POST/tracks
Creates a new track
Request
Query Parameters
The user ID of the user making the request
- application/json
Body
required
- tip_gate
- follow_gate
- purchase_gate
- token_gate
Array [
]
- tip_gate
- follow_gate
- purchase_gate
- token_gate
Array [
]
Array [
]
Array [
]
Array [
]
Optional track ID (will be generated if not provided)
Track title
Possible values: [Electronic, Rock, Metal, Alternative, Hip-Hop/Rap, Experimental, Punk, Folk, Pop, Ambient, Soundtrack, World, Jazz, Acoustic, Funk, R&B/Soul, Devotional, Classical, Reggae, Podcasts, Country, Spoken Word, Comedy, Blues, Kids, Audiobooks, Latin, Lo-Fi, Hyperpop, Dancehall, Techno, Trap, House, Tech House, Deep House, Disco, Electro, Jungle, Progressive House, Hardstyle, Glitch Hop, Trance, Future Bass, Future House, Tropical House, Downtempo, Drum & Bass, Dubstep, Jersey Club, Vaporwave, Moombahton]
Music genre
Possible values: <= 1000 characters
Track description
Possible values: [Peaceful, Romantic, Sentimental, Tender, Easygoing, Yearning, Sophisticated, Sensual, Cool, Gritty, Melancholy, Serious, Brooding, Fiery, Defiant, Aggressive, Rowdy, Excited, Energizing, Empowering, Stirring, Upbeat, Other]
Music mood
Beats per minute (tempo)
Musical key of the track
Comma-separated tags
License type
International Standard Recording Code
International Standard Musical Work Code
Release date
IPFS CID for the track audio file (required)
IPFS CID for the original track file
Original filename of the track
IPFS CID for cover art
Cover art sizes metadata
IPFS CID for the track preview
Preview start time in seconds
Track duration in seconds
Whether the track is downloadable
Whether the track is unlisted
Whether streaming is restricted behind an access gate
stream_conditions
object
nullable
oneOf
Must tip the given user ID to unlock
Must follow the given user ID to unlock
usdc_purchase
object
required
Must pay the total price and split to the given addresses to unlock
The price in USDC needed to unlock
splits
object[]
required
token_gate
object
required
Must hold an NFT of the given collection to unlock
The mint of the token needed to unlock
The amount of the token needed to unlock
download_conditions
object
nullable
oneOf
Must tip the given user ID to unlock
Must follow the given user ID to unlock
usdc_purchase
object
required
Must pay the total price and split to the given addresses to unlock
The price in USDC needed to unlock
splits
object[]
required
token_gate
object
required
Must hold an NFT of the given collection to unlock
The mint of the token needed to unlock
The amount of the token needed to unlock
field_visibility
object
Placement hosts for the track
stem_of
object
remix_of
object
tracks
object[]
required
DDEX application identifier
DDEX release identifiers
DDEX resource contributors / artists
resource_contributors
object[]
nullable
DDEX resource contributors
Possible values: non-empty
Contributor name
Possible values: >= 1
Contributor roles
Sequence number for ordering
indirect_resource_contributors
object[]
nullable
DDEX indirect resource contributors
Possible values: non-empty
Contributor name
Possible values: >= 1
Contributor roles
Sequence number for ordering
rights_controller
object
nullable
DDEX rights controller
Possible values: non-empty
Possible values: >= 1
Optional
copyright_line
object
nullable
Possible values: >= 4 characters and <= 4 characters
Copyright year (4 characters)
Possible values: non-empty
Copyright text
producer_copyright_line
object
nullable
Possible values: >= 4 characters and <= 4 characters
Copyright year (4 characters)
Possible values: non-empty
Copyright text
Parental warning type
Original song title for cover tracks
Original artist for cover tracks
Whether the track is owned by the user
Territory codes for distribution
Whether AI use is prohibited
Responses
- 201
- 400
- 401
- 500
Track created successfully
- application/json
- Schema
- Example (from schema)
Schema
Whether the track was created successfully
The blockchain transaction hash
The ID of the created track
{
"success": true,
"transaction_hash": "string",
"track_id": "string"
}
Bad request
Unauthorized
Server error