Skip to content
KnockDevelopers
Knowledge

List FAQ categories

Chat with a Developer
GET
/v1/knowledge/faqs/categories

Returns the categories your FAQs are grouped by, the ones Knock created included: an FAQ's categoryId is one of them.

Authorization

ApiKeyAuth
headerx-api-key<token>

Your Knock API key. Ask your Knock account team for one: a key with the Enrichment API role to enrich and route leads, the Viewer role to read chats, meetings, routing rules and FAQs, or the Admin, Editor or AI Manager role to change FAQs.

Response Body

Your FAQ categories.

application/json
  1. response

Your FAQ categories.

categories*array<>

Your FAQ categories, the ones Knock created included.

Example Request
curl -X GET 'https://app.knock-ai.com/v1/knowledge/faqs/categories' \  -H 'x-api-key: <YOUR_API_KEY>'
Example Response
{  "categories": [    {      "categoryId": "2b4d6f8a-1c3e-4a5b-9d7f-0e2c4a6b8d1f",      "name": "Pricing",      "isDefault": true    }  ]}