POST
/
api
/
admin
/
questions
Retrieve institutional assessment questions
curl --request POST \
  --url https://pria.praxislxp.com/api/admin/questions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --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
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token passed in x-access-token header

Body

application/json

Response

Successfully retrieved questions

The response is of type object.