Skip to content

Create a questionnaire

Request

Creates a questionnaire from a template for a vendor without notifying them. Requires an explicit SendQuestionnaire call to dispatch it.

Bodyapplication/jsonrequired

Request to create a questionnaire from a template for a vendor.

templateIdstringrequired

Id of the template to create the questionnaire from. Required.

vendorIdstringrequired

Id of the vendor (in the caller's directory) to create the questionnaire for. Required.

curl -i -X POST \
  https://docs.titanapi.securityscorecard.io/_mock/openapi.public/public/v1/questionnaires \
  -H 'Content-Type: application/json' \
  -d '{
    "templateId": "string",
    "vendorId": "string"
  }'

Responses

A successful response.

Bodyapplication/json
questionnaireobject(Questionnaire)required

A questionnaire sent (or staged to be sent) to a vendor, curated for public consumption. Excludes internal ids beyond the public id, audit actors, reviewer/suggestion provenance, and respondent PII beyond what the caller's own organization already provided when creating it.

Response
{ "questionnaire": { "id": "string", "templateId": "string", "sent": true, "createdAt": "2019-08-24T14:15:22Z", "questions": [ … ] } }