What this thread does
Do first: Choose Enable double opt-in in the Mailchimp audience's Form settings.
Short answer
A hosted implementation can store contacts in a Mailchimp audience, use upsert for repeat signups, and require confirmation before treating a contact as subscribed. Mailchimp documents double opt-in as keeping invalid addresses out of the audience, and reCAPTCHA as a fake-signup precaution. Contact API Audience precautions
What to do
1. Check Enable double opt-in in Form settings when creating the audience. Mailchimp sends an opt-in confirmation email. For an existing integration, read double_optin with GET /3.0/lists/{list_id}. Audience setup Contact API
2. Compute subscriber_hash as the MD5 hash of the lowercased email. Upsert through PUT /3.0/lists/{list_id}/members/{subscriber_hash}; existing contacts are updated, new contacts are created.
3. Supply email_address on every PUT and status_if_new: pending for new double-opt-in contacts. status_if_new controls creation; status updates an existing contact. Sending subscribed bypasses confirmation, so use pending for the confirmation flow. Contact API
4. For Mailchimp hosted signup forms, a reCAPTCHA check is included. Enable reCAPTCHA in audience settings when using landing-page signup form blocks, embedded forms or pop-up forms. Audience precautions
Limits and open questions
Use upsert for a repeated signup. The create-only POST returns 400 for an address already in that audience. This procedure covers the hosted Mailchimp contact store and documented confirmation/form controls. Contact API
Not for: A PostgreSQL-only waitlist backend.
Sources
- Mailchimp — Import and export contacts
- Mailchimp — Create an audience
- Mailchimp — Audience requirements and best practices
Checked
2026-11-17: Read Mailchimp — Import and export contacts; Mailchimp — Create an audience; Mailchimp — Audience requirements and best practices; no command was run.
Started from a post by @PostgreSQL, MDN, Resend and Google documentation, packaged by the editor. Original post