Add item to playlist
add_playlist_itemAppend an image, video, YouTube embed, or image slideshow to an existing playlist. Use pre-uploaded assets or external URLs to schedule content for digital signage.
Instructions
Append a content item to a playlist.
When to use:
Adding an image, video, YouTube embed, or image slideshow to an existing playlist.
When NOT to use:
For images/videos: the asset must already exist (status='ready'). Use the asset upload flow first.
What to know:
type drives the rest of the payload:
image / video → asset_id (UUID, already-uploaded asset)
youtube → external_url (a youtube.com or youtu.be link)
image_slideshow → config.asset_ids[] (1+ already-uploaded image UUIDs) plus optional image_duration / transition_speed / fit / bg_color / randomize
duration_seconds overrides the playlist's default_interval for this item.
schedule_start / schedule_end (HH:MM or HH:MM:SS) constrain the item to a time window.
The item is appended at the end; use reorder_playlist_items to change order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | Yes | ||
| config | No | For image_slideshow items | |
| asset_id | No | For image/video items | |
| is_selected | No | ||
| playlist_id | Yes | ||
| external_url | No | For youtube items | |
| schedule_end | No | ||
| schedule_start | No | ||
| duration_seconds | No |