For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get FAQ Category API

The Get FAQ Category API will help us to get all the category along with the Id's.

Get FAQ Category.

POST https://<sub domain>.kapturecrm.com/get-all-faq-categories.html

NOTE: Please replace with your sub domain name in the API.

Authentication:

To access this API endpoint, you need to include your API key in the request headers. For authentication, use the following header:

Basic <Your Token>

Request Body

There will be no body for the API we just need to pass the Authorization Key into the Headers.

Response Body

The API responds with a JSON object containing the details of the all the category in the system along with the category Id's.

Response
Response Messages

{ ..., "status": "success"}

List of customers fetched successfully.

{"message": "Invalid Auth Key","status": "failed"}

Authorization key is either not passed in header, or incorrect, or expired/disabled

{
    "message": {
        "category": [
            {
                "id": 5214,
                "name": "Milton",
                "detail": "",
                "parentCategoryName": "Add as Parent Category",
                "categoryPath": "5213/"
            },
            {
                "id": 5215,
                "name": "Claro",
                "detail": "",
                "parentCategoryName": "Add as Parent Category",
                "categoryPath": "5213/"
            },
            {
                "id": 5216,
                "name": "Spotzero",
                "detail": "",
                "parentCategoryName": "Add as Parent Category",
                "categoryPath": "5213/"
            },
            {
                "id": 5217,
                "name": "Treo",
                "detail": "",
                "parentCategoryName": "Add as Parent Category",
                "categoryPath": "5213/"
            },
            {
                "id": 5245,
                "name": "FAQ - Milton",
                "detail": "",
                "parentCategoryName": "Milton",
                "categoryPath": "5213/5214/"
            },
            {
                "id": 5246,
                "name": "FAQ - Treo",
                "detail": "",
                "parentCategoryName": "Treo",
                "categoryPath": "5213/5217/"
            },
            {
                "id": 5247,
                "name": "FAQ - Claro",
                "detail": "",
                "parentCategoryName": "Claro",
                "categoryPath": "5213/5215/"
            },
            {
                "id": 5248,
                "name": "FAQ - Spotzero",
                "detail": "",
                "parentCategoryName": "Spotzero",
                "categoryPath": "5213/5216/"
            }
        ]
    },
    "status": "success"
}

Error Codes

Error Codes
Description

400

Bad Request - Invalid parameters or missing data

401

Unauthorized - Invalid or missing API key

403

Forbidden - Insufficient permissions

404

Not Found - Resource or endpoint not found

500

Internal Server Error - Server-side issue

Example of a working curl

Last updated