---
title: "Get Playlist Count"
method: GET
path: "/v1/accounts/{{account_id}}/counts/playlists"
tags: ["Playlists"]
---

# Get Playlist Count

`GET /v1/accounts/{{account_id}}/counts/playlists`

## Request

- Base URL: `https://cms.api.brightcove.com`
- URL: `https://cms.api.brightcove.com/v1/accounts/{{account_id}}/counts/playlists`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://oauth.brightcove.com/v4/access_token` scopes: `video-cloud/playlist/read`

Gets a count of playlists in the account for the account

## Path parameters

- `account_id` string, required

## Query parameters

- `q` string

## Headers

- `Content-Type` string, required
- `Authorization` string, required

## Response `200`

200

- PlaylistCount
  - `count` integer: count of videos

## Other responses

- `400`: 'INVALID_SORT: sort parameter specified and invalid field INVALID_SEARCH: search string invalid (may not have been URI-encoded)'
- `401`: UNAUTHORIZED: Authentication failed - check to make sure your client credentials were correct for the access token
- `404`: RESOURCE_NOT_FOUND: The api could not find the resource you requested
- `405`: METHOD_NOT_ALLOWED: The HTTP method specified is not allowed for this endpoint
- `429`: TOO_MANY_REQUESTS: You are submitting too many simultaneous requests or too many requests per second

## Changes

- **2024-05-14** `445c2ae548dc`: 1 warning, 1 info
  - deleted the `query` request parameter `query`
  - added the new optional `query` request parameter `q`
- **2023-04-29** `d5befff2511b`: 1 info
  - endpoint added
- **2023-04-28** `5285220c7df0`: 1 breaking
  - api path removed without deprecation
- **2023-03-26** `751db20334e4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference/changes/v1/accounts/:{account_id}/counts/playlists/get.md)

---

[API](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference.md) - [All operations](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference/revisions/1b6182a4560a?raw)
