---
title: "List YouTube playlists"
method: GET
path: "/v1/accounts/{accountId}/youtube-playlists"
tags: ["Connect"]
---

# List YouTube playlists

`GET /v1/accounts/{accountId}/youtube-playlists`

Returns the playlists available for a connected YouTube account. Use this to get a playlist ID when creating a YouTube post with the playlistId field.

## Path parameters

- `accountId` string, required

## Response `200`

Playlists list

- object
  - `playlists` object[]
    - `id` string
    - `title` string
    - `description` string
    - `privacy` 'public' | 'private' | 'unlisted'
    - `itemCount` integer
    - `thumbnailUrl` string
  - `defaultPlaylistId` string, nullable

## Other responses

- `400` — Not a YouTube account
- `401` — Unauthorized
- `404` — Account not found

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/revisions/f81ca70ea6b9/schema)
