Get a lead form
Shows a lead form in full, including its questions and thank-you page.
Returns the full form, including the thank-you page, so a form can be diffed against what was created. Meta forms are scoped to the Page the accountId manages: a form on any other Page is a 404, never a read.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Numeric form id (Meta leadgen_form id or LinkedIn leadForm id).
Query parameters
Connected Meta ads, facebook, instagram or linkedin ads account id (selects the platform).
- Meta ads connection: resolves its Page through the Facebook account linked to the same profile.
- Instagram account: uses the Page its ads run under (its own linked Page, else the Facebook or business-login Meta ads account on the same profile).
Meta only. A Graph field selection passed through verbatim to GET /{form-id}, replacing the default projection, so fields Meta adds later are reachable without an API change.
- Field names, commas and {} expansion only. Anything else (Graph field modifiers such as .limit(), or characters that could open another query parameter) is a 400.
- Unknown field names are rejected by Meta as a 400.
- Ownership of the form is verified before the selection runs, so this cannot reach any Page but the one accountId manages.
Responses
Success· the request worked
Errors· the request failed
Create a test lead
Submits a test lead to a Meta lead form so you can check your lead retrieval without running ads. Submits a test lead against the form (POST /{form-id}/test_leads) to exercise retrieval without waiting for real ad impressions. Meta allows one test lead per form at a time.
Update a lead's status
Sets the status of a Meta lead (and optionally its value) so you can track it from lead to sale. `{id}` is the Zernio lead id (`id` on `GET /v1/ads/leads`, `leadId` on `GET /v1/ads/lead-forms/{formId}/leads`) or the Meta `leadgenId` together with `accountId` in the body. Requires the Ads add-on.