List leads for a single form
Lists the leads submitted through one Meta lead form.
It serves persisted leads (ingested via the leadgen webhook) when available, falling back to a live Graph read.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Query parameters
25Unix seconds.
Responses
Success· the request worked
Errors· the request failed
How it behaves
Accounts
Accepts either of these with leads_retrieval access to the form:
- a Facebook account
- a metaads business-login account, which uses its system-user token without a posting parent
Freshness
Persisted leads arrive in real time through Meta's webhook. A background pass re-reads every Page from Meta to catch the leads the webhook misses: every 15 minutes for Pages that received a lead in the last 7 days.
meta.lastCheckedAt says when that pass last ran, so polling this endpoint faster than that returns nothing new. Subscribe to the lead.received webhook instead.
The live Graph read is cached for 5 minutes, and meta.lastCheckedAt is when it was read.
Reserve reach-frequency inventory
Locks the quoted price and inventory of a Meta reach and frequency prediction so you can launch a campaign on it. Locks the quoted price + inventory until the returned `expiresAt` and mints a NEW prediction id. Pass that RESERVED id (not the original) as `rfPredictionId` on POST /v1/ads/create. Release an unused reservation via DELETE.
List lead forms
Lists the lead forms on a Facebook Page or LinkedIn Company Page. Meta: forms on the connected Facebook Page. Pass either the `metaads` ads connection (the Page is taken from the Facebook account linked to it) or the Facebook account itself. LinkedIn: forms owned by the ad account's Company Page. Pass `adAccountId` (LinkedIn forms are org-owned). Requires the Ads add-on.