API Reference

REST endpoints use shared validation schemas. Use API keys to authenticate poll creation and admin actions.

POST/api/polls

Create poll with pricing validation and immediate debit.

POST/api/pricing/quote

Fetch a pricing quote for a poll configuration.

POST/api/votes

Submit 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.