Lead Gen

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.

Billing: Read (free unless it says otherwise) · Rate limit: 120/min

get/v1/messaging/ads/lead-forms

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/ads/lead-forms
  • Auth: HTTP bearer

Query parameters

limitinteger
cursorstring
accountIdstring required

Connected Meta ads, Facebook, Instagram or LinkedIn ads account ID. A Meta ads connection resolves its Page through the Facebook account linked to the same profile; an 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).

adAccountIdstring

LinkedIn only: the LinkedIn ad account id (used to resolve the owning organization). Required for LinkedIn.

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

Response

Completed

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
errorstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.