v1

latestOpenAPI 3.0.32026-07-248519153.1 KB

Create quiz

post/quizzes

Headers

api_keystring required

Request body

paywall_idinteger nullable

Optional ID of the paywall that follows this quiz. When omitted or set to 0, the quiz falls back to the project's default /paywall.

namestring required
slugstring required
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. Defaults to 2 when omitted.

published_versioninteger nullable
css_variablesobject nullable
no_cookieboolean nullable
screensstring json nullable

JSON string with quiz screens content

Response

Quiz created

successinteger

Example response

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