Cover Images

Generate upload URLs for collection and track cover images.

POST /v1/collection/:collection_id/cover

Generates an upload URL for a collection's cover image

Parameters

Name Type Required Description
collection_id uuid Required The ID of the collection (path parameter)

Example Request

curl -X POST "https://api.audiodelivery.net/v1/collection/COLLECTION_ID/cover" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "ok": true,
  "api_request_id": "uuid",
  "collection_id": "uuid",
  "collection": {
    "id": "uuid",
    "organization_id": "uuid",
    "title": "string",
    "organization_index": "string | null",
    "metadata": {},
    "image_colors": [],
    "player_color": "string | null",
    "player_subtitle": "string | null",
    "is_cover_overridable": true,
    "is_theme_overridable": true
  },
  "collection_cover_upload": {
    "method": "POST",
    "upload_url": "string",
    "ttl": 3600,
    "expires_at": "string"
  }
}

After you upload the image to the returned upload_url, it will be processed for colors and applied to the collection (including image_colors and player_color).

POST /v1/track/:track_id/cover

Generates an upload URL for a track's cover image

Parameters

Name Type Required Description
track_id uuid Required The ID of the track (path parameter)

Example Request

curl -X POST "https://api.audiodelivery.net/v1/track/TRACK_ID/cover" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "ok": true,
  "api_request_id": "uuid",
  "track_id": "uuid",
  "track": {
    "id": "uuid",
    "organization_id": "uuid",
    "collection_id": "uuid",
    "index": "string",
    "duration": 0,
    "file_name": "string",
    "order": 0,
    "metadata": {},
    "player_title": "string | null",
    "player_subtitle": "string | null",
    "player_color": "string | null",
    "image_colors": [],
    "track_status_id": "string"
  },
  "track_cover_upload": {
    "method": "POST",
    "upload_url": "string",
    "ttl": 3600,
    "expires_at": "string"
  }
}

After you upload the image to the returned upload_url, it will be processed for colors and applied to the track (including image_colors and player_color).