Send leads to a Kit form
The Kit integration creates or updates a Kit subscriber for every lead in your AIPages workspace, then adds them to one Kit form. Kit then runs whatever you've attached to that form. AIPages handles the capture; Kit handles the email.
Pro and Agency plans · Workspace owners and admins connect · Updated
In Settings → Lead integrations (Pro or Agency, owner or admin), choose Kit and enter a v4 API key from Kit's Developer settings and the ID of a Kit form. For each lead, AIPages calls Kit's create-subscriber endpoint (email and first name), then adds the subscriber to that form, with the page URL as the referrer. Phone, last name and custom fields are not sent.
Collect two values from Kit
| AIPages field | Where to find it in Kit |
|---|---|
| API key | A v4 key from Account settings → Developer → Add a new key. Kit shows it only once. (Kit API docs) |
| Form ID | The numeric ID of the Kit form subscribers should join. Choose a form that is not archived: Kit answers additions to archived, deleted or restricted forms with an HTTP 422 error, which appears in the lead's Delivery details. (Kit API docs) |
Connect in AIPages
- 1
Open Lead integrations
In Settings → Lead integrations, choose Kit.
- 2
Enter the key and form ID
Fill in API key and Form ID, then click Connect Kit. There is one Kit connection per workspace; saving again replaces it.
- 3
Test with a real submission
Submit a test on a live page, open the lead's Delivery details and confirm the
integration:kitrow shows delivered, then check that the subscriber appears in Kit on that form.
Exactly what is sent
| Step | Kit endpoint | Data |
|---|---|---|
| 1 | Create a subscriber (POST /v4/subscribers) | email_address, first_name (the whole name field, if collected) |
| 2 | Add subscriber to form (POST /v4/forms/<id>/subscribers) | email_address, referrer (the page URL the form was submitted from, when the browser sent one) |
Kit documents step 1 as an upsert: a new address creates an active subscriber, and an existing one has its first name updated without changing its state (Kit API docs). If either step fails, the whole delivery is retried. Repeating step 1 is harmless, and Kit answers step 2 with "already added" if the subscriber is already on the form.
Kit's API documentation doesn't say whether adding a subscriber to a form through the API sends that form's incentive (confirmation) email or starts linked sequences. Check this with your own address before relying on it.
Kit creates new subscribers as active by default, so don't rely on a Kit form's confirmation or incentive step as your record of consent. Put the consent wording, and a consent checkbox if you need one, on the AIPages form itself.
What the Kit connection does not do
- ·One Kit form per workspace. Every page's leads go to it.
- ·The whole name field is sent as first_name. Phone and custom fields are not sent, and no tags are applied.
- ·AIPages doesn't send email through Kit. Sequences, broadcasts and incentive emails are configured and sent in Kit.
- ·To use tags or custom fields, send leads to your own [webhook](/integrations/webhooks) and call Kit's API from there.