API ReferenceAdmin: Faqs
List all FAQ entries for editing (admin).
Returns every FAQ (active + inactive) with both locales, ordered by `sortOrder` — the editing counterpart of the public `GET /support/faqs`. Requires super_admin, admin, or content_manager.
Authorization
bearerAuth AuthorizationBearer <token>
AdonisJS access-token guard (middleware.auth({ guards: ["api"] })). Send Authorization: Bearer <oat_…> (issued by /auth/register, /auth/login, /auth/social/{google,apple}, or /auth/guest).
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/admin/faqs"{ "data": { "items": [ { "id": "string", "key": "string", "questionEn": "string", "questionAr": "string", "answerEn": "string", "answerAr": "string", "category": "orders", "sortOrder": 0, "isActive": true } ] }, "meta": { "requestId": "string" }}{ "error": { "code": "AUTH_REQUIRED", "message": "Authentication is required to access this resource." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "FORBIDDEN", "message": "You are not allowed to perform this action." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}