Dark mode is now available in beta
cURL
curl --request POST \ --url http://localhost:3000/api/admin/questions \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "minimum": true, "questionType": "INSTITUTION" } '
{ "success": true, "data": [ { "_id": "6657cb7f4f9e80ae6b52f9f1", "code": "INSTITUTION_01", "question": "Who are you?", "objectif": "Provide a brief description of who you are...", "required": true, "position": 1, "status": "active", "created": "2024-05-30T00:42:39.441Z", "section": 2, "mbti": false } ] }
Fetches a list of questions used for institutional assessments, with optional filtering for minimal data
JWT token passed in x-access-token header
Type of questions to retrieve
INSTITUTION
CORPORATE
Flag to return minimal question data
Successfully retrieved questions
Indicates if the request was successful
Array of questions
Show child attributes
Was this page helpful?