Get categories

GET /categories

List all categories available in the environment. Optionally, filter by type to return a subset of categories for a specific purpose.

Typical category types to be used for filtering are template and theme.

Parameters

type string Return only categories that are of the specified type.

Response

{
    "categories":
    [
        {
            "ref": 1,
            "category": "Portfolio, Magazines, Design & Fashion",
            "type": "template"
        },
        {
            "ref": 2,
            "category": "Restaurants, Bars, Cafes & Clubs",
            "type": "template"
        },
        ...
    ]
}