v1
latestOpenAPI 3.1.02026-07-241765501.1 MBQuizzes
Retrieve quiz
🔐 This endpoint requires HTTP authentication (either Basic or Bearer). For authenticating with Bearer token, required scopes are: quizzes(r).
Retrieve a quiz.
get/v1/quizzes/{quiz_id}
Path parameters
quiz_idstring required
Query parameters
keystring required
The key of the index to use.
Example:key_K2pX7vBnU0bgA5xp
sectionstring
The section of the index to use. Defaults to Products.
Example:Products
Response
OK
Example response
{
"display_name": "Product Finder Quiz",
"active": true,
"questions": [
{
"title": "What is your favorite color?",
"description": "Choose your preferred color",
"cta_text": "Next",
"images": {
"primary_url": "https://example.com/image.jpg",
"primary_alt": "Product image",
"secondary_url": "https://example.com/image2.jpg",
"secondary_alt": "Alternative product view"
},
"internal_name": "q1_color",
"bucket_id": 1,
"options": [
{
"value": "Red",
"attribute": {
"color": "red"
},
"images": {
"primary_url": "https://example.com/image.jpg",
"primary_alt": "Product image",
"secondary_url": "https://example.com/image2.jpg",
"secondary_alt": "Alternative product view"
}
}
]
}
]
}