v1

latestOpenAPI 3.0.1Vanta Terms of Service2026-07-26327517821.8 KB
Customer Trust

Update questionnaire

Update an existing questionnaire.

Updates one or more fields of a questionnaire. This endpoint cannot be used to set a questionnaire's status to APPROVED or COMPLETED. To perform those specific transitions, please use the approveQuestionnaire and completeQuestionnaire endpoints, respectively.

patch/customer-trust/questionnaires/{questionnaireId}

Path parameters

questionnaireIdstring required

Request body

displayNamestring

Display name of the questionnaire

dueDatestring nullable

Due date for questionnaire completion (ISO 8601 string, null to clear)

status'IN_PROGRESS' | 'IN_REVIEW' | 'READY_FOR_REVIEW' | 'WAITING_ON_ANSWERS' | 'ON_HOLD' | 'NO_LONGER_NEEDED'

Response

Ok

idstring required
displayNamestring required
urlstring
type'SPREADSHEET' | 'WEBSITE' | 'DOCUMENT' required
status'APPROVED' | 'IN_PROGRESS' | 'IN_REVIEW' | 'READY_FOR_REVIEW' | 'WAITING_ON_ANSWERS' | 'ON_HOLD' | 'NO_LONGER_NEEDED' | 'COMPLETE' | 'ERROR' | 'EXTRACTING_QUESTIONS' | 'QUEUED_FOR_EXTRACTION' | 'PROCESSING' | 'QUEUED_FOR_PROCESSING' | 'WAITING_ON_COLUMN_SELECTION' | 'WAITING_ON_COLUMN_APPROVAL' | 'QUEUED_FOR_COLUMN_DETECTION' | 'DETECTING_COLUMNS' required
customerTrustAccountIdstring
dueDatestring date-time
createdDatestring date-time required
updatedDatestring date-time required
completedDatestring date-time