auth_required is still true, this endpoint returns an error.
The response can be returned as structured JSON (sections and questions with option IDs) or as a rendered HTML string. Use the JSON format when you want to build a custom UI, and the HTML format when you want to embed a pre-rendered questionnaire.
Endpoint
Headers
Path parameters
string
required
The UUID token of the test record.
Response (JSON format)
object
array
Array of section objects. Each section contains:
id(string): Section identifiertitle(string): Section titlequestions(array): Questions in this section
string
Question identifier.
string
Question text.
array
Array of option objects. Each option has:
id(string): The option identifier you submit in answerslabel(string): Human-readable option text
Example request
Example response (JSON)
Option IDs
Each option in theoptions array has an id field. You must submit these exact id values when posting answers to POST /record/{token}/. The label field is for display only and must not be sent as the answer value.
Response (HTML format)
When the questions endpoint returns HTML, the response shape is:html string directly into an iframe or render it in a WebView for mobile applications.
