API referenceForms
List signup forms
GET
/formsAuthorization
apiKey AuthorizationBearer <token>
A project API key: Authorization: Bearer s0_…
In: header
Query Parameters
limit?integer
Range
1 <= value <= 100after?string
Length
1 <= length <= 64before?string
Length
1 <= length <= 64Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/forms"{ "object": "list", "has_more": true, "data": [ { "object": "form", "id": "string", "name": "string", "status": "active", "fields": [ { "name": "email", "label": "string", "type": "email", "required": false, "placeholder": "string" } ], "list_ids": [ "string" ], "double_opt_in": true, "redirect_url": "string", "success_message": "string", "spam_protection": { "honeypot": true, "turnstile": false, "max_per_ip_per_hour": 20 }, "action_url": "string", "hosted_url": "string", "embed": { "iframe": "string", "html": "string" }, "submission_count": 0, "last_submitted_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]}Test a sequence POST
A dry run for one contact: conditions are evaluated, emails rendered, nothing changes. With `send_to` (your own address, from a dashboard session) each email is also sent to you, prefixed `[Test]`.
Create a signup form POST
Returns the hosted page (`hosted_url`), the public endpoint it posts to (`action_url`) and embed snippets. Double opt-in needs at least one list and a `default_from` in the marketing settings (it sends the confirmation email).