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

# List YouTube playlists

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

## Request

- Base URL: `https://zernio.com/api`
- URL: `https://zernio.com/api/v1/accounts/{accountId}/youtube-playlists`
- Auth: HTTP bearer

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`: Missing or invalid API key (missing_credentials / invalid_credentials), or the stored YouTube token was revoked or expired (reconnect_required): reconnect the account.
- `404`: Account not found

## Changes

- **2026-10-08** `9010c1de973d`: 1 breaking
  - removed the media type `application/json` for the response with the status `401`
- **2026-10-06** `f8c8f34fb41a`: 1 warning
  - added the new `account` enum value to the `details/budgetScope` response property for the response status `401`
- **2026-10-02** `d556591af3f6`: 7 info
  - added the optional property `code` to the response with the `401` status
  - added the optional property `details` to the response with the `401` status
  - added the optional property `docUrl` to the response with the `401` status
  - added the optional property `param` to the response with the `401` status
  - …3 more

[Operation history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/accounts/:accountId/youtube-playlists/get.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) · [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/4e74db179e73?raw)
