Skip to main content
A funnel ties a free lead magnet product to an email sequence (a real automation with real email posts) and a paid offer. The API creates it from a template, turns it on and reports its numbers. Product guide: Sales funnels.
Growth plan and above. POST /funnels and POST /funnels/{id}/activate answer 403 with code: FEATURE_LOCKED (and details.requiredPlan) on a plan without funnels. Listing, reading, pausing and deleting stay open.

Endpoints

Funnels live in the key’s mode: a pk_test_ key sees test-mode funnels and products only.

Create a funnel

The answer is the funnel with status: "draft", its automationId and its emailPostIds. Edit the emails with the posts endpoints before you activate it if you like. Errors: 400 with code LEAD_MAGNET_NOT_FREE, OFFER_NOT_PAID or DISCOUNT_CODE_TAKEN; 403 FEATURE_LOCKED.

Activate

Activation turns the funnel’s automation on under the same rules as any automation, plus two funnel checks:

Stats

GET /funnels/{id}/stats returns:
  • totals: leads, emailsSent, opens, clicks, purchases, buyers, revenue, conversionRate (percent), currency (your account currency).
  • stages: unique people who got the lead magnet, opened, clicked and bought.
  • emails: per email, in send order, sent, opened and clicked.
A purchase counts for the funnel when the buyer’s email got the lead magnet first and bought the offer within 30 days (attributionWindowDays). Refunded sales never count.

Webhook: funnel.lead

Fired once per new lead (a repeat claim never fires it again). Subscribe to it with POST /webhooks.
subscribed: false means the person had unsubscribed before: they count as a lead but get no emails.