v1

latestOpenAPI 3.0.32026-07-248519153.1 KB

Update quiz

put/quizzes/{quizId}

Path parameters

quizIdinteger required

Headers

api_keystring required

Request body

paywall_idinteger nullable

Optional ID of the paywall that follows this quiz. Pass 0 (or omit) to fall back to the project's default /paywall.

namestring nullable
slugstring nullable
themestring nullable
languagestring nullable
countrystring nullable

ISO 3166-1 alpha-2 country code

tagsstring[]
custom_head_htmlstring nullable
custom_cssstring nullable
source_quizinteger nullable
auto_languagesinteger nullable
templates_version1 | 2 nullable

Quiz templates version. New quizzes default to 2 when created via API.

published_versioninteger nullable
css_variablesobject nullable
no_cookieboolean nullable
screensstring json nullable

JSON string with quiz screens content

Response

Quiz updated

successinteger

Example response

{
  "quiz": {
    "id": 131,
    "project_id": 78,
    "paywall_id": 89,
    "name": "Transform Chaos into Clarity",
    "slug": "transform-chaos-into-clarity"
  }
}