---
title: "To get all the categories"
method: GET
path: "/v1/Insights/QualityManagement/Categories"
tags: ["FlexV1InsightsQuestionnairesCategory"]
---

# To get all the categories

`GET /v1/Insights/QualityManagement/Categories`

## Request

- Base URL: `https://flex-api.twilio.com`
- URL: `https://flex-api.twilio.com/v1/Insights/QualityManagement/Categories`
- Auth: HTTP basic

To get all the categories

## Query parameters

- `PageSize` integer
- `Page` integer
- `PageToken` string

## Headers

- `Authorization` string

## Response `200`

OK

- object
  - `categories` FlexV1InsightsQuestionnairesCategory[]
    - `account_sid` string, nullable: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource.
    - `category_sid` string, nullable: The SID of the category
    - `name` string, nullable: The name of this category.
    - `url` string, uri, nullable
  - `meta` object
    - `first_page_url` string, uri
    - `key` string
    - `next_page_url` string, uri, nullable
    - `page` integer
    - `page_size` integer
    - `previous_page_url` string, uri, nullable
    - `url` string, uri

## Changes

- **2025-02-20** (v1) `4f95f0ad0bf6`: 1 breaking
  - for the `query` request parameter `PageSize`, the format changed from no format to `int64`
- **2023-08-10** (v1) `c37c20a0a1cb`: 1 info
  - api tag `FlexV1InsightsQuestionnairesCategory` added
- **2023-05-18** (v1) `350c4958f8a3`: 1 warning, 1 info
  - deleted the `header` request parameter `Token`
  - added the new optional `header` request parameter `Authorization`
- **2023-05-04** (v1) `d2ba4bc4aee9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/twilio/apis/twilio-flex/changes/v1/Insights/QualityManagement/Categories/get.md)

---

[API](https://skmtc.dev/twilio/apis/twilio-flex.md) - [All operations](https://skmtc.dev/twilio/apis/twilio-flex/llms.txt) - [OpenAPI document](https://skmtc.dev/twilio/apis/twilio-flex/revisions/185d7522d33c?raw)
