BASN guide
Build a BASN audience experience
BusinessStreamerPersonalserverweb
Compose reviewed Events, Embeds, and Polls contracts without claiming a standalone BASN API.
Prerequisites
- A published Event
- A reviewed Embed or Poll
- An exact allowed origin for the publishable key
Implementation
- 1
Resolve the public Event
Use the reviewed Events public projection as the experience identity and entry point.
- 2
Load the audience interaction
Resolve the reviewed Embed with the publishable key restricted to the exact application origin.
- 3
Submit one audience selection
Send the Poll or Embed identifier and selected option without query-string credentials or owner data.
- 4
Keep product state separate
Treat Events and Vote responses as separate contracts and handle retries, duplicate limits, and expiry explicitly.
Related API operations
Production checklist
- Use production credentials only with api.beladed.com.
- Keep secret credentials on a trusted server.
- Verify account ownership, permissions, origins, and webhook signatures.
- Handle idempotency, timeouts, retries, and duplicate events.
- Log request IDs without logging credentials or sensitive payloads.
Mark this page