vendors

Get questionnaire questions and answers

Returns a list of all visible questions in the questionnaire with their answers. Note: This endpoint only supports private questionnaires, not public questionnaires.

Required API key permissions: VendorRisk (select when creating API key in Account Settings)

get/vendor/questionnaire/answers

Request

Query parameters

idinteger required

The ID of the questionnaire

Response

Questionnaire answers response

Example response

{
  "questions": [
    {
      "answered": true,
      "file_upload_answer": {
        "filename": "security_policy.pdf"
      },
      "multiple_choice_answer": {
        "selected_options": [
          "Option A",
          "Option C"
        ]
      },
      "options": [
        {
          "checked": true,
          "id": "opt_yes",
          "selected": true,
          "text": "Yes"
        }
      ],
      "question_id": "q_security_policy",
      "question_number": "1.2.3",
      "question_text": "Do you have a written information security policy?",
      "question_type": "single_choice",
      "required": true,
      "risk_answer": {
        "compensating_control": "We use encryption at rest and in transit, with strict access controls",
        "severity": "high"
      },
      "single_choice_answer": {
        "comment": "Encrypted at rest in production only",
        "selected_option_id": "opt_yes",
        "selected_option_text": "Yes"
      },
      "text_answer": {
        "value": "We use AWS for hosting"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.