Docs/Getting Started/Overview

Overview

What the AdQuest SDK embeds and how lottery-first quests fit together.

AdQuest is a lottery-first engagement SDK. Hosts embed a branded widget so users can earn tokens through quests, buy lottery tickets, and claim rewards — without leaving the host experience.

What you get

  • Hosted embed at https://sdk.adquest.io/{publicId} for iframe and WebView hosts
  • React components (AdQuestWidget, QuestWidget) for web apps
  • Headless client for server-assisted flows and custom UI
  • Theme / branding loaded from platform public config

Core concepts

ConceptMeaning
PlatformYour AdQuest publisher/app record with public_id, API key, and secret
ParticipantAn end user identified by external_user_id
Participant tokenShort-lived JWT minted by your backend with the platform secret
TokensIn-widget currency earned from quests and spent on lottery entries
QuestsCompletables (video, survey, and custom flows) that award tokens / gifts
  1. Create a platform in the dashboard and copy public_id, API key, and secret.
  2. Mint participant sessions on your server.
  3. Embed the hosted SDK or mount AdQuestWidget.
  4. Theme the skin in Theme Studio.
  5. Create quests and lotteries, then measure completion and entries.

Continue with Quickstart.