v16

latestOpenAPI 3.1.1raw.githubusercontent.com2026-08-0124102197.4 KB
V3 Surveys

Validate a survey document

Validates a future create or patch survey payload without writing data, creating languages, or creating survey versions. Invalid survey documents return 200 with data.valid=false so agents and MCP clients can repair payloads from structured invalid_params.

Use 400 only for malformed validation envelopes, unsupported operations, invalid surveyId, or unsupported query parameters.

post/api/v3/surveys/validate

Request body

OR

Response

Validation completed. The survey document may still be invalid.

Example response

{
  "data": {
    "languages": [
      {
        "code": "en-US"
      }
    ]
  }
}