Key Concepts
Quiz Flow
A typical quiz implementation follows this flow:- Get Next Question - Fetch the first question or subsequent questions based on previous answers
- Collect Answers - Present questions to users and collect their responses
- Get Results - Retrieve personalized product recommendations based on all answers
Session Management
Quizzes use two key identifiers to maintain state:- Quiz Version ID - Returned with the first request and must be passed with all subsequent requests
- Quiz Session ID - Returned with the first request and must be passed with all subsequent requests
Answer Format
Answers are provided as a nested array where each inner array represents responses to a single question:- Integer - For single/multiple choice questions (option IDs)
- “true”/“false” - For boolean questions
- “seen” - For cover/acknowledgment questions
- Empty string "" - For skipped questions
- Text - For open-ended questions
Available Methods
Get Next Question
Retrieve the next question in a quiz based on previous answers
Get Results
Get personalized product recommendations based on quiz answers