Skip to main content
Forms are used to collect subscriber information and can be embedded on your website or used as hosted landing pages.

List forms

Returns a list of all the forms for your account.

Endpoint

GET /v3/forms

Parameters

string
required
Your account API key

Add subscriber to a form

Subscribe an email address to one of your forms.

Endpoint

POST /v3/forms/#{form_id}/subscribe

Parameters

string
required
Your account API key
integer
required
The ID for the form you want to add the subscriber to
string
required
Subscriber email address
string
Subscriber first name
object
Object of key/value pairs for custom field(s). The custom field(s) must exist before you can use it here.
array
Array of tag ids to subscribe to

Deprecated Parameters

array
Array of sequence ids to subscribe to. You should add the subscriber to the sequence directly.
array
Array of form ids to subscribe to. You should add the subscriber to each form individually.
string
Subscriber first name. You should prefer using first_name listed above.

List subscriptions to a form

List subscriptions to a form including subscriber data.

Endpoint

GET /v3/forms/#{form_id}/subscriptions

Parameters

string
required
Your API secret key
integer
required
The ID for the form you want to list subscribers from
string
Sort order for results (asc or desc). asc to list subscribers added oldest to newest, desc to list subscribers added newest to oldest. Default is asc.
string
Filter by subscriber state (active or cancelled). Receive only active subscribers or cancelled subscribers.
string
The page of results being requested. Default value is 1. Each page of results will contain up to 50 subscriptions.