Lookup
Get Categories
Get question categories across all data sources the caller has access to. The categories can be used in metadata endpoints to filter entities and questions to a specific category.
get/categories
Request
- Base URLhttps://api.morningconsult.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
page_sizeinteger
Example:50
The number of results to return per request. Additional results past the page size can be retrieved using a pagination token, if one is returned in the response.
pagination_tokenstring base64
A pagination token to use to get paginated results. For more details, see the section on Pagination.
Example:eyJxdWVyeSI6ImRvZ3MifQ==
Pagination token returned from previous calls to an endpoint. When provided, no other query parameters can be specified. For more details, please see the Pagination section.
Response
Categories
Example response
{
"categories": [
{
"id": "brand",
"label": "Brand"
}
],
"pagination_token": "eyJxdWVyeSI6ImRvZ3MifQ=="
}Changes
No recorded changes to this operation across all 1 revision of this API.