---
title: "Get theme CSS variables for a quiz"
method: GET
path: "/quizzes/css-variables"
---

# Get theme CSS variables for a quiz

`GET /quizzes/css-variables`

Return the theme-level CSS variables (design tokens like `--primary`,
`--text-color`, `--radius`) currently applied to the quiz. These
override the theme defaults globally for every screen.

## Query parameters

- `quiz_id` integer, required

## Headers

- `api_key` string, required

## Response `200`

Variables retrieved

- object
  - `success` boolean
  - `quiz_id` integer
  - `theme` string, nullable
  - `css_variables` object

## Other responses

- `422` — Quiz not found

---

[API](https://skmtc.net/web2wave/apis/web2wave-api.md) · [All operations](https://skmtc.net/web2wave/apis/web2wave-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/web2wave/web2wave-api/versions/c88545119271/schema)
