Quiz endpoints sit under
/api/brands/{brand}/quizzes/ with moduleAccess:quizzes middleware. Authenticate with EF-Access-Key.List Quizzes
number
Results per page (1–100, default: 25)
string
Search by name
string
newest, oldest, created_at, updated_atcURL
List Quizzes (Unpaginated)
{ id, name, code } for all quizzes — useful for dropdowns and mapping.
Get Quiz
flow_data is not included in the show response. Use GET .../flow to retrieve the flow graph.Create Quiz
string
required
Quiz name
cURL
Update Quiz
string
required
Quiz name (max 255)
number
ID of the page to associate with this quiz
object
Quiz display configuration (theme, layout, computed variables, etc.)
Delete Quiz
Get Quiz Flow
Returns the visual flow graph (Drawflow format) and all screen definitions.cURL
If no flow has been saved yet,
flow defaults to a minimal empty Drawflow structure ({"drawflow":{"Home":{"data":[]}}}).Save Quiz Flow
any
The complete Drawflow graph object. Can be
null to clear the flow.cURL
Screens
Quiz screens are the individual question/result pages within a quiz. They are nested under the quiz resource.List Screens
Get Screen
Create Screen
string
required
Screen name / question title
string
required
Screen type:
single_choice, multiple_choice, text_input, rating, result, info, video, imagestring
Display title shown to the user
string
Subtitle or question description
array
Answer options (for choice screens) — each with
label and valueobject
Additional screen-level configuration
string
HTML content (for
info and result screens)string
light or darknumber
Display order. Auto-incremented if omitted.
file
Audio file upload (multipart)
file
Image file upload (multipart)
cURL
Update Screen
Delete Screen
Reorder Screens
object
required
Map of
{ "<screenId>": <integer order>, ... }cURL
Duplicate Screen
Notes
flow_datais separate from the quiz’sconfigand screen definitions — save and retrieve it with the dedicated/flowendpoints- Screen
codevalues are auto-generated unique identifiers used in the flow graph to connect questions to answer paths total_entriestracks submission count and is incremented automatically when entries are submitted via the public form