API Reference
Facebook LoginGETLogin dialog
Lead Ads

Get a lead form

GET/v27.0/{form_id}
Base URL: https://meta-ads.mimicr.dev · provider: https://graph.facebook.com

Reads a lead form. Needs a Page access token.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

form_idstringrequired

ID of the lead form.

Example: "100539998049736"

Query parameters

fieldsstring

Comma-separated fields to return, with Graph field expansion: a,b{c,d},e.limit(5). Without it, only id (and a few default fields on some nodes) is returned. An unknown field returns (#100) Tried accessing nonexisting field.

Responses

200OK.
idstring

ID of the object.

namestring

Name of the object.

statusstring

Status of the form: ACTIVE, ARCHIVED, DELETED or DRAFT.

localestring

Locale of the form (pt_BR, en_US, …).

questionsobject[]

Questions of the form (type, key, label, options).

leads_countinteger

Number of leads the form received (test leads excluded).

created_timestring<date-time>

Time the object was created, ISO 8601 in the ad account time zone (2026-11-05T14:25:17-0300).

pageobject

The Page that owns the form.

Show child attributes
idstring

ID of the object.

namestring

Name of the Page.

categorystring

Category of the Page.

pictureobject

Profile picture: {data: {url, height, width, is_silhouette}}.

tasksstring[]

Tasks the user can perform on the Page (ADVERTISE, ANALYZE, …).

access_tokenstring

Page access token. Only in /me/accounts (or with fields=access_token) and only for a user who can manage the Page.

has_whatsapp_numberboolean

Whether a WhatsApp number is connected to the Page.

whatsapp_numberstring

The WhatsApp number connected to the Page. In Mimicr it is the number of the linked WhatsApp sandbox.

linkstring

URL of the Page.

verification_statusstring

Verification status.

page_idstring

ID of the Page that owns the form.

privacy_policy_urlstring

URL of the privacy policy.

follow_up_action_urlstring

URL shown after the form is submitted.

block_display_for_non_targeted_viewerboolean

Whether people outside the ad audience can't see the form.

is_optimized_for_qualityboolean

Whether the form has a review step (Higher intent).

thank_you_pageobject

The thank-you screen.

tracking_parametersobject[]

Custom tracking parameters returned with the leads.

expired_leads_countinteger

Number of leads older than 90 days.

400Error in the Graph envelope.
errorobjectrequired
Show child attributes
messagestringrequired

Description of the error.

Example: "(#100) The parameter special_ad_categories is required"
typestringrequired

OAuthException for most codes (the Marketing API uses it for validation too), GraphMethodException for unknown objects, FacebookApiException for transient errors. In Mimicr, routes outside the integration core answer MimicrNotSimulated with HTTP 501.

Example: "OAuthException"
codeintegerrequired

Error code (100 invalid parameter, 190 invalid token, 200 permission, 2635 deprecated version, 613/17/80004 rate limits, …).

Example: 100
error_subcodeinteger

Error subcode with more detail (1885272 budget too low, 463 token expired, …).

Example: 1885272
is_transientboolean

Whether retrying the same request may succeed. Present on every Marketing API error; true for codes 1 and 2.

error_user_titlestring

Title of the error, to show to people.

error_user_msgstring

Message of the error, to show to people.

error_dataobject

Extra data. blame_field_specs lists the params that caused a validation error.

Show child attributes
blame_field_specsstring[][]
fbtrace_idstringrequired

Internal support identifier of the request.

Example: "AbCdEf12345"