put/quizzes/{quizId}

Request

  • Base URL
    https://api.web2wave.com/api
  • URL
    https://api.web2wave.com/api/quizzes/{quizId}
  • Auth
    API key in header api_key

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
faviconstring nullable

Favicon CDN URL (upload via POST /project-files/upload first).

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"
  }
}

Changes

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status