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

Description

This endpoint allows submitting an external link as media for a specific track. Only audio and video links are allowed for tracks. Each track can have only one audio or video file. The link is validated and stored for later processing. Authorization:
  • Required role: user or higher

Code Examples

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Release ID

trackId
string<uuid>
required

Track ID

Body

application/json
url
string<uri>
required

The URL to submit

Example:

"https://wetransfer.com/downloads/abc123"

name
string

Optional name for the link

Example:

"My Track Demo"

type
enum<string>

Type of media at the link (tracks only support audio/video)

Available options:
audio,
video
Example:

"audio"

Response

Success

success
boolean
Example:

true

data
object
message
string
Example:

"Media uploaded successfully"