Beladed Docs
Help Sign in Create account

Beladed Embeds guide

Embed a poll safely

BusinessStreamerPersonalwebbrowser-extension

Use an origin-restricted publishable key to load an embed and cast a vote.

Prerequisites

  • A reviewed embed
  • A publishable key
  • An exact allowed origin

Implementation

  1. 1

    Restrict the key

    Allow only the exact production and development origins that render the embed.

  2. 2

    Load the embed

    Request one public embed by its short identifier using the publishable key header.

  3. 3

    Cast a vote

    Submit only the embed or vote-session identifier and the selected option; never place the key in a URL.

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.
Type to search the complete public documentation catalog.