The email-collection API
for static sites
Collect, confirm, and own your subscribers. A publishable key on the front end, signed webhooks and a REST API on the back — pipe verified signups into your stack, not into another ESP.
- Publishable key — drop it into any static site, no backend
- Double opt-in, signed webhooks, and a REST API
- Own your list: CSV + API export, no ESP lock-in
Works with any static or serverless frontend
A subscriber list is the channel you own
Social posts disappear. Launch traffic fades. emcognito turns every static page, README, changelog, and product waitlist into a durable audience asset.
Collect readers before the newsletter exists
Add the form to a blog, portfolio, or landing page now and export when you are ready to send.
Turn launch spikes into owned demand
Capture beta interest from Product Hunt, Hacker News, Reddit, or GitHub without building a signup backend first.
Keep the stack boring on purpose
Use plain HTML, fetch, or your framework of choice. No plugin lock-in, no server session, no hosted form builder theme.
How it works
Three steps from empty static page to verified subscriber list.
Register your site
Create a free account and get a publishable API key for your site. Every subscribe request made with your key is recorded to your account.
Embed the widget
Paste one HTML snippet into your static site or serverless frontend. No npm install, no build step, no framework required — plain HTML works. See the integration guide for framework-specific examples.
Confirm and export
Subscribers confirm by email, then appear in your owner portal. Search, filter, and export your verified list as CSV.
Everything you need, nothing you don't
Per-account isolation
Your subscriber list is private to your account — only your keys can read, export, or modify it.
Passwordless login
Access your portal via a one-time magic link sent to your email. No passwords, no OAuth dance.
CSV export
Download your full subscriber list at any time. Your data is yours — take it anywhere.
Zero-config embed
A single HTML snippet is all it takes. No npm package, no build step, no framework dependency.
Simple API
Prefer to build your own form? Hit POST /subscribe from any frontend directly.
Live search & filtering
Find any subscriber instantly in the portal. Filter by email, sort by date — all in-browser.
Your subscribers, in your stack — in real time
Don't let your list sit in a silo. Read it from your server with a REST API, and get a webhook the moment someone confirms — so new subscribers flow straight into your ESP, CRM, or data warehouse.
Read your list over HTTPS
A secret-key-authenticated REST API — GET /v1/subscribers — returns your confirmed subscribers as JSON, ready to sync anywhere.
Webhooks for every event
Subscribe to subscriber.confirmed, created, deleted, bounced, and complained. We POST a signed payload and retry until it lands.
Secure by default
Secret keys are stored hashed, payloads are HMAC-signed, endpoints are SSRF-checked, and every key is scoped to a single site.
Frequently asked questions
Do I need a backend or server to collect emails?
No. emcognito is a hosted API — your static site or serverless frontend sends subscribe requests directly to our endpoint. You don't run or manage any server-side code.
Does it work on GitHub Pages, Netlify, or Vercel?
Yes. Any host that serves static HTML works. Paste the embed snippet into your page and it starts collecting subscribers immediately — no build plugin or integration needed.
How does emcognito know which subscribers belong to my site?
Each account gets a publishable API key. You include it as the X-Publishable-Key header in your subscribe requests. All subscribers collected with your key are scoped to your account and can never be accessed by others.
Can I use it with a custom newsletter signup form?
Absolutely. You can use the drop-in HTML widget or call POST /subscribe directly from your own form — fetch, Axios, or any HTTP client works.
How do I access my subscriber list?
Log in to the owner portal with a magic link sent to your email — no password required. From there you can view, search, and export your full list as a CSV file.
Does emcognito have an API to read my subscribers?
Yes. Create a server-side secret key (sk_live_…) on the portal's Developers page and call GET /v1/subscribers to read your confirmed list as JSON. Keys are stored hashed and scoped to a single site, so a key can only ever read that site's subscribers.
Can I get a webhook when someone subscribes?
Yes. Register a webhook endpoint in the portal and emcognito sends a signed POST the moment a subscriber confirms — plus events for created, deleted, bounced, and complained. Deliveries are retried with backoff and signed with an HMAC Emcognito-Signature header you can verify.
Is it really free?
Yes, emcognito is free during the beta period. Sign up now and lock in early access.
