get_all_categories
Retrieve all categories from your account, sorted alphabetically. Choose between a flat list or nested structure with subcategories under groups.
Instructions
Get a list of all categories associated with the user's account. Returns categories in alphabetical order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | If `flattened`, returns a singular array of categories. If `nested`, returns top-level categories (either category groups or categories not part of a category group) in an array, with subcategories nested within the category group under the property children. Defaults to flattened. | |
| is_group | No | If true, returns only category groups. If false, returns only categories that are not category groups. |