Signup forms
Create and manage hosted signup forms with an API key. A form is a public page once it is active.
A signup form is a hosted page and an embeddable snippet that records express consent for a brand against a registered consent statement. Managing forms costs 0 credits.
| Operation | Scope | Rate class | Idempotency-Key |
|---|---|---|---|
GET /v1/forms | forms:read | read | |
GET /v1/forms/{id} | forms:read | read | |
POST /v1/forms | forms:write | write | optional |
PATCH /v1/forms/{id} | forms:write | write | optional |
A form is created with a brand_id, a name, the consent statement_id (and optionally its
statement_locale and statement_version), the topic_ids it subscribes people to, fields,
allowed_origins for the embed, an optional redirect_url and an optional slug. There is no
delete: set status to archived with PATCH.
A form is a public page
A key that can write forms can create a form and set it active, which puts a hosted signup page and
its embed on the internet for the brand. The dashboard's rules apply: the statement must be an
express consent statement of the same brand that covers every topic, and topics that use double
opt-in send the confirmation email. Turning a form on or off by a key is audited as a warning. A key
that only needs to read forms should hold forms:read alone.
The page a visitor submits to is served by MessagePipe, not by this API, and needs no key.
Brand tracking domains
/v1/brands/{id}/tracking-domain (status, set, check, remove) uses audience:read to read and
audience:admin to change. A tracking domain changes where the links and open pixels in every email
of a brand point, so changing one needs a key created by a workspace owner or admin.