Update theme CSS variables for a quiz
Replace or merge the theme-level CSS variables. Default mode is merge (shallow merge over current variables). To clear a variable without switching to replace, pass it as null. Screens are not affected — only the design tokens change. A new quiz version is created so the change can be rolled back.
put/quizzes/css-variables
Request
- Base URLhttps://api.web2wave.com/api
- URLhttps://api.web2wave.com/api/quizzes/css-variables
- AuthAPI key in header api_key
Headers
api_keystring required
Request body
Example request
{
"quiz_id": 123,
"css_variables": {
"--primary": "#5C6AC4",
"--radius": "12px"
}
}Response
Variables updated
Changes
No recorded changes to this operation across all 2 revisions of this API.