> ## Documentation Index
> Fetch the complete documentation index at: https://docs.beyondwords.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Playlists

Group multiple audio or video items into a single playlist, or enable users to create their own media queues.

There are three types of playlists in BeyondWords:

* [**Standard**](#create-a-standard-playlist): Manually select which items to include.
* [**Smart**](#create-a-smart-playlist): Set rules to automatically include relevant items.
* [**Dynamic**](#create-a-dynamic-playlist): Let users curate their own playlists (requires working in JavaScript).

> [!NOTE]
>
> Each standard/smart playlist automatically generates a corresponding [podcast feed](https://docs.beyondwords.io/docs-and-guides/audio/distribution/podcast-feeds.md), and vice versa.

> [accordion] Use your AI assistant
>
> [Connect the BeyondWords MCP](https://dash.beyondwords.io/account/connections), then copy a prompt.
>
> Create a playlist with your AI assistant
>
> Create a standard playlist in BeyondWords. Ask me which project, the title, and which content to include (for example, specific articles or the most recent items). Show me the list and confirm before creating it.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Reorder a playlist with your AI assistant
>
> Change the order of a BeyondWords playlist. Ask me which project and playlist, show me its current order, and ask how to reorder it. Confirm before saving.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Get playlist embed code with your AI assistant
>
> Give me the widget embed code for a BeyondWords playlist. Ask me which project and playlist, and which content type to include.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Find a playlist ID with your AI assistant
>
> List the playlists in a BeyondWords project with their IDs. Ask me which project.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Share a playlist with your AI assistant
>
> Get the shareable URL for a BeyondWords playlist. Ask me which project and playlist.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Edit a playlist with your AI assistant
>
> Edit a BeyondWords playlist. Ask me which project and playlist, show me its current title, content limit, and items, and ask what to change. Confirm before saving.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Delete a playlist with your AI assistant
>
> Delete a BeyondWords playlist. Ask me which project and playlist, warn me that this also removes its podcast feed, and ask me to confirm before deleting.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Make a playlist public or private with your AI assistant
>
> Make a BeyondWords playlist public or private. Ask me which project and playlist and which setting I want, then confirm before saving.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.
>
> Gather content IDs with your AI assistant
>
> Help me build a BeyondWords dynamic playlist. Ask me which project and which content to include, then give me the project ID and content IDs, and write the JavaScript widget configuration.
>
> If you can't access BeyondWords tools, don't guess or make anything up. Tell me to connect the BeyondWords MCP at [https://dash.beyondwords.io/account/connections](https://dash.beyondwords.io/account/connections), then stop.

> [accordion] Use the API
>
> Create and manage playlists with the [BeyondWords API](https://docs.beyondwords.io/api-reference/overview.md):
>
> * [List playlists](https://docs.beyondwords.io/api-reference/playlists/list.md): `GET /projects/{project_id}/playlists`
> * [Create a standard or smart playlist](https://docs.beyondwords.io/api-reference/playlists/create.md): `POST /projects/{project_id}/playlists`
> * [Get a playlist](https://docs.beyondwords.io/api-reference/playlists/show.md): `GET /projects/{project_id}/playlists/{id}`
> * [Edit a playlist](https://docs.beyondwords.io/api-reference/playlists/update.md): `PUT /projects/{project_id}/playlists/{id}`
> * [Delete a playlist](https://docs.beyondwords.io/api-reference/playlists/delete.md): `DELETE /projects/{project_id}/playlists/{id}`

## Create a standard playlist

Standard playlists are made up of items you choose and stay the same unless you update them manually. This is useful for grouping related coverage on a single story, creating daily roundups, or curating other kinds of fixed editorial collections.

**1. Go to playlist settings**

Go to **Audio → Playlists** in your project dashboard.

**2. Create a new playlist**

Click **+ Playlist** and fill out the form:

* **Title**: Name your playlist.
* **Content limit**: Enter the maximum number of items to include in the playlist (up to 100).
* **Image** (optional): Upload a square image to represent your playlist.
* **Type of playlist**: Select **Standard**.

Once complete, click **Continue**.

**3. Select content to include**

Click **Select articles** and use the checkboxes to decide which content to include.

Once complete, click **Save changes**.

**4. Change playlist order (optional)**

To change the order of your playlist contents, click **••• → Reorder**.

## Create a smart playlist

Smart playlists update automatically based on rules you define, allowing you to deliver a continuously refreshed feed of themed content. For example, you can include all the audio articles by a specific author, or all the videos tagged with a particular category.

**1. Go to playlist settings**

Go to **Audio → Playlists**.

**2. Create a new playlist**

Click **+ Playlist** and fill out the form:

* **Title**: Name your playlist.
* **Content limit**: Enter the maximum number of items to include in the playlist (up to 100).
* **Image** (optional): Upload a square image to represent your playlist.
* **Type of playlist**: Select **Smart**.

Once complete, click **Continue**.

**3. Set playlist rules**

By default, smart playlists include all items in your project. To change this, click **Set rules** then **+ Rule**.

Use the **Field**, **Condition**, and **Value** fields to create your rule. For example, you may wish to create the rule `author include Joe Bloggs` or `tags include sports`. Use **include** or **exclude** for author, title, and tags, and **less than** or **greater than** for publish date.

Once you're happy, click **Apply**.

**4. Save changes**

You can add as many rules as needed, combining them with `and` or `or` operators.

The **Preview** section shows which items will be included based on your current content and rules.

Once you're happy, click **Save changes**.

## Share playlists

> [accordion] Embed a playlist
>
> To embed a standard or smart playlist:
>
> 1. Go to **Audio → Playlists**.
>
> 2. Click **••• → Get embed code** next to the playlist you want to embed.
>
> 3. Choose the content type you want to include in your playlist.
>
> 4. Click the **Copy** icon on the embed code, then paste it into the desired location.
>
> > [!TIP]
> >
> > This embed uses the [widget](https://docs.beyondwords.io/docs-and-guides/widget.md). You can control how many items are shown, whether the toggle is shown, when the outro is played, and more.
> >
> > Changes to widget settings may affect other embeds. To customize this instance only, set properties in the embed code.

> [accordion] Copy a playlist ID
>
> You will need to copy a playlist ID (`playlistId`) to load or reference a specific playlist in the widget SDK or [Playlists API](https://docs.beyondwords.io/api-reference/playlists/list.md), for example, when initializing a widget with a playlist or building dynamic playlists programmatically.
>
> 1. Go to **Audio → Playlists**.
> 2. Click **••• → Copy ID** next to your chosen playlist, then paste it where required.

> [accordion] Share via URL
>
> To share a smart or standard playlist via URL:
>
> 1. Go to **Audio → Playlists**.
>
> 2. Click **••• → Copy shareable URL** next to the playlist you'd like to share.
>
> 3. Paste your URL in the desired locations.
>
> > [!NOTE]
> >
> > The [shareable page](https://docs.beyondwords.io/docs-and-guides/audio/distribution/shareable-url.md) displays the project title, playlist image, content titles, content durations, and playback controls.

## Manage playlists

> [accordion] Edit a playlist
>
> To edit a smart or standard playlist:
>
> 1. Go to **Audio → Playlists**.
> 2. Click **••• → Edit** next to your chosen playlist.
> 3. Update your chosen settings then click **Save changes**.

> [accordion] Delete a playlist
>
> To delete a smart or standard playlist:
>
> 1. Go to **Audio → Playlists**.
>
> 2. Click **••• → Delete** next to your chosen playlist.
>
> 3. Click **Delete** to confirm.
>
> > [!WARNING]
> >
> > Deleting a playlist also deletes its podcast feed, but the feed must be removed from podcast platforms separately.

> [accordion] Change playlist privacy
>
> To change privacy settings for a smart or standard playlist:
>
> 1. Go to **Audio → Playlists**.
> 2. Click **••• → Set visibility** next to your chosen playlist.
> 3. Turn **Make public** on or off, then click **Save changes**.
>
> If your playlist is **Public**, it can be accessed via its shareable URL and any embeds. If it's **Private**, it can't be accessed this way.

## Dynamic playlists

Dynamic playlists are generated in real time using your own logic and data. For example, you can allow users to build their own playlists with an "add to queue" feature.

### Demo

Add content identifiers to build a playlist in real time. Your selections persist locally so you can experiment.

### Create a dynamic playlist

**1. Set up the JavaScript widget**

Install the JavaScript widget on your website.

**2. Store user selections**

Implement backend logic to save the identifiers of content users add to their queue (e.g., `contentId`, `sourceId`, or `sourceUrl`), along with their type.

**3. Initialize the widget**

You will need your `projectId` and content identifiers (e.g., `contentId`, `sourceId`, or `sourceUrl`) to load items.

Pass the saved items into the widget as a list of identifiers. Each item should include one identifier:

```js theme={null}
import BeyondWords from '@beyondwords/player';

new BeyondWords.Player({
  target: '#beyondwords-player',
  projectId: YOUR_PROJECT_ID, // required
  playlist: [
    {
      // include one of the following per item
      contentId: 'YOUR_CONTENT_ID',
      sourceId: "<SOURCE_ID>",
      sourceUrl: "<SOURCE_URL>",
      playlistId: YOUR_PLAYLIST_ID,
    },
    // ...more items
  ],
});
```

The widget fetches the content and loads it as a playlist.

Widget settings are pulled from your project by default, but can be overridden via the configuration.

## FAQs

> [accordion] Why is there no content in my playlist?
>
> If you're not seeing any content in your playlist in BeyondWords, it may be because you have:
>
> * Created a standard playlist without adding any articles.
> * Created a smart playlist with overly restrictive rules.
> * Selected a content type (e.g., video articles) that you haven't yet generated.
>
> If content appears in your playlist in BeyondWords but not through your distribution method, you may be on a legacy plan that doesn't support playlist distribution. [Contact support](https://docs.beyondwords.io/docs-and-guides/support.md) for details.

> [accordion] Can I play an audio sting between items in a playlist?
>
> Yes, you can use the outros feature to play an audio sting between items in a playlist:
>
> 1. Go to **Widget**.
> 2. Find the **Outros in playlists** field and select **After each item**.
> 3. Find the **Outro** field, click **Upload audio**, and upload your file.
> 4. Scroll to the bottom and click **Save all**.
>
> The outro will also play on individual items, not just within playlists.

> [accordion] What happens if I delete or update my content?
>
> If you update your content, the latest version will be reflected in the playlist after a short delay due to caching. If you delete content, it will no longer appear in the playlist.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.