v1

latestOpenAPI 3.0.32026-07-248519153.1 KB

Resolve preview URL for a quiz

Build a public URL to open a quiz on the project's primary host (project's custom domain if set, otherwise {project_id}.web2wave.com). Works for any quiz — no need for the API caller to know the project's subdomain. Use this from MCP / scripts instead of guessing the host.

Modes:

  • no version arg → returns the currently published version if published_version is set, else the live draft;
  • version=latest-published → forces the published version (auto-fills the encoded version hash from the published version's date);
  • version=<int>-<base64date> → returns that exact archived version;
  • any other string → passed through as-is.

Other params: screen_id (jump to one screen), locale, theme, edit_mode=1, project_domain (override the host explicitly).

get/quizzes/{quizId}/preview-url

Path parameters

quizIdinteger required

Query parameters

versionstring
screen_idstring
localestring
themestring
edit_modeboolean
project_domainstring

Headers

api_keystring required

Response

Preview URL bundle.

successinteger
urlstring uri
preview_urlstring uri
kind'quiz'
idinteger
slugstring
mode'live-draft' | 'published' | 'versioned'
versionstring nullable
project_domainstring
live_urlstring uri
published_urlstring uri nullable
All 85 operations