GET/v1/hooks/categories0 credits
List categories
Slugs for list hooks. English name is a label; pass slug as category. Needs hooks:read on the key. This is a permission on the key, not a request header. Missing it returns 403 api_not_enabled.
Request parameters
No query, path, or JSON body parameters.
Response
{
"object": "list",
"data": [
{ "slug": "education-schools", "name": "Education & Schools" }
],
"has_more": false,
"next_cursor": null
}
Response fields
| Name | Type | Required | Description |
|---|---|---|---|
object |
string | Required | Always list. |
data |
array | Required | Page of lean hooks. May be empty. |
has_more |
boolean | Required | True when another page exists. |
next_cursor |
string | Nullable | Pass back as cursor. null when has_more is false. |
data[] fields
| Name | Type | Required | Description |
|---|---|---|---|
slug |
string | Required | Pass to list as category. |
name |
string | Required | English label. |