Admin list FAQs
FAQs
Admin list FAQs
List all FAQs (published and drafts) for the admin FAQs manager.
GET
Admin list FAQs
Overview
Returns every FAQ — published and drafts — ordered byorder ascending, for the admin panel’s FAQs manager. The public GET /faqs endpoint serves only the published rows.
Authentication
Bearer <accessToken> with scope: 'admin' required (requireAdmin). Any admin role may list.
Response — 200 OK
| Field | Type | Notes |
|---|---|---|
items[].id | string | 24-char Mongo ObjectId. |
items[].question | string | The question text. |
items[].answer | string | The answer text. |
items[].order | integer | Display order (ascending). |
items[].isPublished | boolean | false rows are hidden from the public endpoint. |
items[].createdAt | string | ISO 8601 timestamp. |
items[].updatedAt | string | ISO 8601 timestamp. |
Error responses
| Status | Code | Meaning |
|---|---|---|
| 401 | UNAUTHENTICATED | Missing, malformed, expired, or non-admin-scope token. |
| 403 | FORBIDDEN | Token is not admin-scoped. |