Embedding forms
Add a Sendra signup form to your website with a JavaScript snippet.
You can embed a Sendra signup form on any website using the provided JavaScript snippet.
Getting the embed code
- Go to Forms and select a form
- Click Embed
- Copy the JavaScript snippet
The snippet looks like this:
Add this to your HTML wherever you want the form to appear.
How it works
The embed script:
- Loads asynchronously (won't block your page)
- Renders a styled form at the script's location
- Handles submission via the Sendra API
- Shows success/error messages inline
Custom forms
If you want full control over the form's appearance, you can build your own form and submit to the Sendra API directly:
Replace FORM_ID with your form's ID and your-workspace.sendra.so with your workspace URL.