Skip to main content

๐Ÿ”„ Update a Playlist

Updates a playlist by UUID.

๐Ÿ“ค Request Example

curl -X PATCH https://betaapi.audiohook.com/v2/companies/:companyUUID/playlists/:playlistUUID \
  -H "Authorization: Bearer ${API_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{
    "request_headers": [
      { "name": "X-Request-Header", "value": "Header value" }
    ],
    "body": {
      "name": "Example playlist renamed",
      "advertiser_id": "fe95310e-6f6f-4aad-aad6-c18aa7d84ec7",
      "inventory_ids": ["Spotify"],
      "searches": [],
      "type": "streaming",
      "tags": ["example 1"]
    }
  }'

๐ŸŒ HTTP Request

PATCH /v2/companies/:companyUUID/playlists/:playlistUUID

๐Ÿงพ Body Parameters

ParameterRequiredTypeDescription
nameโœ…stringName of the playlist.
advertiser_idโœ…stringAdvertiser UUID.
inventory_idsโœ…arrayList of inventory IDs.
searchesโœ…arrayList of query searches.
typeโœ…stringType (podcast, radio, streaming).
tagsโŒarrayTags to associate.