---
title: "Hook template library categories"
method: GET
path: "/v1/hooks/library/categories"
tags: ["Hooks"]
---

# Hook template library categories

`GET /v1/hooks/library/categories`

## Request

- Base URL: `https://api.virlo.ai`
- URL: `https://api.virlo.ai/v1/hooks/library/categories`
- Auth: HTTP bearer

The 30+ categories of the curated hook-template library with per-category counts. Use the slugs as the category filter on GET /v1/hooks/library. Free.

## Response `200`

- HookLibraryCategoriesResponseDto
  - `data` LibraryCategoryDto[], required
    - `slug` string, required
    - `name` string, required
    - `description` string, nullable
    - `hook_count` number, required: Number of templates in this category.

## Other responses

- `401`: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
- `429`: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header

---

[API](https://skmtc.dev/virlo/apis/virlo-public-api.md) · [All operations](https://skmtc.dev/virlo/apis/virlo-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/virlo/apis/virlo-public-api/revisions/3b69c6145087?raw)
