Skip to main content

FAQ Categories List

This section covers the endpoints for retrieving FAQ categories and their questions.

Available Endpoints

List FAQ Categories

Get a list of all available FAQ categories.

Endpoint

  • Method: GET
  • URL: /v1/coach/faq-categories

Request Headers

HeaderValueRequired
Content-Typeapplication/jsonYes
Acceptapplication/jsonYes

Success Response

{
"success": true,
"message": "تم جلب البيانات بنجاح",
"data": [
{
"id": "uuid",
"name": "التسجيل في الموقع",
"priority": 63,
"faqs": [
{
"id": "uuid",
"question": "string",
"answer": "string",
"priority": 6
}
]
}
],
"statusCode": 200
}

Overview

FAQ Category Information

Each FAQ category includes:

  • Unique identifier
  • Category name
  • Active status
  • Priority for sorting
  • List of questions and answers

Each FAQ question includes:

  • Unique identifier
  • Question text
  • Answer text
  • Active status
  • Priority for sorting

Important Notes

  • Categories are sorted by priority
  • Only active categories and questions are returned
  • Questions within each category are sorted by priority
  • FAQ data is cached for better performance
  • FAQ content is managed through the admin panel
  • Questions and answers support rich text formatting