API Reference
REST endpoints use shared validation schemas. Use API keys to authenticate poll creation and admin actions.
POST
/api/pollsCreate poll with pricing validation and immediate debit.
POST
/api/pricing/quoteFetch a pricing quote for a poll configuration.
POST
/api/votesSubmit vote with optional Semaphore proof and invite code.
Calling the API
Use the backend REST endpoints for poll creation, voting, and results. The frontend keeps auth sessions separate from API key usage.