---
title: "Create a playlist"
method: POST
path: "/playlists"
tags: ["Playlists"]
---

# Create a playlist

`POST /playlists`

## Request

- Base URL: `https://api.fanheroapi.com`
- URL: `https://api.fanheroapi.com/playlists`
- Auth: API key in header `apiKey`

## Headers

- `channel` string, required
- `organization` string, required

## Request body

- CreatePlaylistInput
  - `title` string, required: Playlist title
  - `posts` string[]: Array of post IDs

## Response `201`

---

[API](https://skmtc.dev/fanhero/apis/headless-cms-endpoints.md) - [All operations](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/revisions/fb8d50c05ee6?raw)
