Create page lead form
Create a lead gen form. With isDraft: true the form is stored locally and returned as a draft; without it the form is published to Facebook and the Meta record is returned. The two responses share almost no fields. Publishing enforces at least one question and a complete thankYouPage (title, body, buttonText) where a draft save enforces neither. Pass draftFormId when publishing an existing draft to have it deleted afterwards — either the bare id or the draft_-prefixed form is accepted, and cleanup failures are logged rather than surfaced.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
adPublishing. writeOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version
v3v3Path Parameters
Facebook page identifier
103456789012345Body
Lead form type
MORE_VOLUMEHIGHER_INTENTMORE_VOLUMELead form name
Contact FormLocation identifier
loc_abc123Greeting card config
{
"title": "Welcome!",
"style": "LIST_STYLE",
"content": [
"Learn more about our services"
]
}
List of questions displayed on the lead form. Required (non-empty) when isDraft is false or omitted; optional for drafts.
[
{
"key": "full_name",
"type": "FULL_NAME"
},
{
"key": "email_address",
"type": "EMAIL"
},
{
"key": "preferred_time",
"type": "CUSTOM",
"options": [
{
"key": "morning",
"value": "Morning"
},
{
"key": "evening",
"value": "Evening"
}
]
},
{
"key": "are_you_interested",
"label": "Are you interested?",
"type": "CUSTOM",
"options": [
{
"value": "Yes"
},
{
"value": "No"
}
]
}
]
Question page headline
Tell us about yourselfPrivacy policy URL. Required when isDraft is false or omitted; optional for drafts.
https://example.com/privacyPrivacy policy text
We respect your privacyCustom disclaimer config
{
"title": "Terms & Conditions",
"body": "By submitting...",
"checkboxes": [
{
"isRequired": true,
"text": "I agree",
"key": "terms"
}
]
}
Thank you page config. Required when isDraft is false or omitted; optional for drafts.
{
"title": "Thank You!",
"body": "We will contact you soon",
"buttonText": "Visit Website",
"buttonType": "VIEW_WEBSITE",
"buttonLink": "https://example.com"
}
If the form is a draft, set to true
trueDraft form ID
1234567890Locale
EN_USResponse
The stored draft when isDraft is set, otherwise the form as published to Facebook
- FacebookCreatedDraftLeadFormDTO
- FacebookCreatedLeadFormDTO
Draft id, unprefixed. The listing endpoint reports this same draft as draft_<id>.
6a866661867e604d24f5a21cAlways true on this branch
trueForm name
Untitled form 20 Aug 26, 07:57 AMOwning location
fRMewNQIxSyZ5R4nQyitPage the draft will publish to
196684453527082Lead form objective
MORE_VOLUMEHIGHER_INTENTMORE_VOLUMEForm locale, upper-cased as stored
EN_USCreation time, ISO-8601
2026-08-20T02:28:49.477ZLast modification time, ISO-8601. Equal to createdAt on a fresh draft.
2026-08-20T02:28:49.477ZIntro card
Questions as stored. Each carries a Mongo _id, and so does every entry in its options.
Headline above the questions
We'll use your information to send you our weekly newsletters.Privacy policy URL
https://www.privacypolicy.comPrivacy policy link text
Link textCustom disclaimer block
Confirmation screen