Error
A valid request URL is required to generate request examples{
"data": {
"survey_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 123,
"file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
}
}{
"data": {
"survey_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 123,
"file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
}
}{
"error": "validation_error",
"message": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"message": "<string>",
"resource": "<string>",
"slug": "<string>",
"file_id": "<string>",
"endpoint_id": "<string>",
"event_id": "<string>",
"delivery_id": "<string>",
"api_key_id": "<string>",
"integration_id": "<string>",
"audit_id": "<string>",
"status": "<string>",
"details": "<unknown>",
"question_ids": [
"<string>"
],
"survey_ids": [
"<string>"
],
"revisions": [
123
]
}{
"error": "<string>",
"message": "<string>",
"resource": "<string>",
"slug": "<string>",
"file_id": "<string>",
"endpoint_id": "<string>",
"event_id": "<string>",
"delivery_id": "<string>",
"api_key_id": "<string>",
"integration_id": "<string>",
"audit_id": "<string>",
"status": "<string>",
"details": "<unknown>",
"question_ids": [
"<string>"
],
"survey_ids": [
"<string>"
],
"revisions": [
123
]
}Questionnaire
Set latest revision
Uploads still use the survey file APIs. This endpoint records that a ready file is the latest questionnaire revision. If the latest revision already points at the same file_id, returns 200 with the existing revision; otherwise appends a new revision (201).
PUT
/
surveys
/
{surveyId}
/
questionnaire
Error
A valid request URL is required to generate request examples{
"data": {
"survey_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 123,
"file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
}
}{
"data": {
"survey_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": 123,
"file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
}
}{
"error": "validation_error",
"message": "<string>",
"details": "<unknown>"
}{
"error": "<string>",
"message": "<string>",
"resource": "<string>",
"slug": "<string>",
"file_id": "<string>",
"endpoint_id": "<string>",
"event_id": "<string>",
"delivery_id": "<string>",
"api_key_id": "<string>",
"integration_id": "<string>",
"audit_id": "<string>",
"status": "<string>",
"details": "<unknown>",
"question_ids": [
"<string>"
],
"survey_ids": [
"<string>"
],
"revisions": [
123
]
}{
"error": "<string>",
"message": "<string>",
"resource": "<string>",
"slug": "<string>",
"file_id": "<string>",
"endpoint_id": "<string>",
"event_id": "<string>",
"delivery_id": "<string>",
"api_key_id": "<string>",
"integration_id": "<string>",
"audit_id": "<string>",
"status": "<string>",
"details": "<unknown>",
"question_ids": [
"<string>"
],
"survey_ids": [
"<string>"
],
"revisions": [
123
]
}⌘I