Skip to main content
POST
/
mediaBundles
Create a new media bundle
curl --request POST \
  --url https://api.blurb.fail/v1/mediaBundles \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "artistId": "1234567890",
  "upc": "1234567890",
  "projectNumber": "PR1234",
  "releaseNumber": "CR1234",
  "albumVersion": "Live",
  "imageUrl": "https://placehold.co/1000x1000",
  "externalIds": {
    "appleMusic": "1234567890",
    "spotify": "1234567890",
    "youtube": "1234567890"
  },
  "clientRef": "1234567890"
}
'
{
  "success": true,
  "message": "Media bundle created",
  "data": {
    "mediaBundleId": "example",
    "name": "example"
  }
}

Body

application/json

The request to create a media bundle.

name
string
required

The name of the media bundle

artistId
string
required

The artist ID associated with the media bundle

Example:

"1234567890"

upc
string | null

The Universal Product Code (UPC) - the unique identifier for the album, if any

Example:

"1234567890"

projectNumber
string | null

The project number for the media bundle / album

Example:

"PR1234"

releaseNumber
string | null

The release number for the media bundle / album

Example:

"CR1234"

albumVersion
string | null
default:""

The album version of the media bundle / album

Example:

"Live"

imageUrl
string

Optional URL of the image. Must be 1x1 aspect ratio.

Example:

"https://placehold.co/1000x1000"

externalIds
object
clientRef
string
default:""

The client reference for the media bundle

Example:

"1234567890"

Response

Media bundle created successfully

success
boolean
required

Whether the request was successful

Example:

true

message
string | null
required

Message from the API

Example:

"Media bundle created"

data
object
required

The response from the Media Bundle POST request.

Example:
{
"mediaBundleId": "example",
"name": "example"
}