Lead Gen
Get a lead form
PlatformsMetaLinkedIn
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
formId*string
Numeric form id (Meta leadgen_form id or LinkedIn leadForm id).
Query Parameters
accountId*string
Connected facebook or linkedin ads account id (selects the platform).
Response Body
application/json
application/json
application/json
{ "status": "string", "form": {}}Was this page helpful?
Create a test lead
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.
Archive a lead form
Neither platform hard-deletes a form; this archives it (Meta status=ARCHIVED; LinkedIn state=ARCHIVED via PARTIAL_UPDATE).