Skip to content

Getting started

POLST lets a brand drop a live poll — a polst — or an ordered set of polsts — a campaign — into almost any surface: a web page, a single-page app, a mobile app, or a server-side integration. Every surface treats polsts and campaigns as first-class, equal citizens: anything you can do with a polst you can do with a campaign, and every surface exposes a way for a brand to list and manage its own polsts and campaigns.

#ModeWhat it isHost-page technology
1IframeA ready-made page loaded in a sandboxed frameAny HTML page
2JS script tagA loader script that renders real DOM into a target element — not an iframeAny HTML page
3JS SDKAn npm package that exposes the same renderer plus a programmatic clientAny JS app (SPA, Next.js, Node)
4Native SDKsSwift / Kotlin / React Native libraries that render native viewsiOS, Android, RN
5REST APIA versioned, resource-oriented HTTP API separate from the internal tRPC surfaceAnything that speaks HTTP

All five modes sit on top of the REST API (mode 5). The SDKs and the script tag are renderers; the iframe is a hosted renderer. Because every mode speaks the same public contract, a vote button written against the SDK, the script tag, or the REST API receives identical data.