Webhook events · leads
lead.submitted/1
Lead submitted. A Meta (Facebook / Instagram) lead form was submitted and its answers fetched: form, page, ad / ad set / campaign, name, email, E.164 phone, every answer and the consent checkboxes.
Payload
We POST this JSON to your endpoint. Answer any 2xx within 30 seconds. The same id arrives again on a retry — skip ones you have handled.
| Field | Type | What it is |
|---|---|---|
| idrequired | string | Event id. The same on every retry: use it to skip duplicates.pattern ^evt_[0-9A-HJKMNP-TV-Z]{26}$ |
| typerequired | string | Event type.always lead.submitted |
| versionrequired | string | Payload version.always 1 |
| api_versionrequired | string | The endpoint's API version. |
| occurred_atrequired | string | When it happened.date-time |
| company_idrequired | integer | Your workspace id. |
| datarequired | object | |
| leadgen_idrequired | string | Meta lead id.1–∞ characters |
| page_idrequired | string | Facebook page id.1–∞ characters |
| form_idrequired | string | Lead form id.1–∞ characters |
| form_name | string or null | Form name. |
| ad_id | string or null | Ad id; null for an organic lead. |
| adset_id | string or null | Ad set id. |
| campaign_id | string or null | Campaign id. |
| is_organic | boolean or null | True when the lead did not come from an ad. |
| platform | string or null | Where the form was filled in, as Meta reports it, e.g. fb or ig. |
| created_timerequired | string | When the lead was submitted, ISO 8601. |
| contact_id | integer or null | The contact id, when the lead is linked to a contact. |
| name | string or null | Name from the form. |
| string or null | Email address from the form. | |
| phone | string or null | Phone number in E.164, when it could be read. |
| phone_raw | string or null | The phone number as typed. |
| phone_country_hint | string or null | Country used to read the phone number (ISO 3166-1 alpha-2), e.g. US. |
| fieldsrequired | object | Every answer, by the form's field key. |
| consentrequired | array of object | The consent checkboxes. |
| keyrequired | string | Checkbox key. |
| checkedrequired | boolean | True when ticked. |
Example
{
"id": "evt_01J8Z7BZQ4F6G8J2K5N7Q9S1VC",
"type": "lead.submitted",
"version": "1",
"api_version": "2026-10-01",
"occurred_at": "2026-09-24T09:20:00Z",
"company_id": 1001,
"data": {
"leadgen_id": "1203456789012345",
"page_id": "104857600000001",
"form_id": "823456789012345",
"form_name": "Free consultation — Sept",
"ad_id": "120210000000000001",
"adset_id": "120210000000000002",
"campaign_id": "120210000000000003",
"is_organic": false,
"platform": "fb",
"created_time": "2026-09-25T10:00:00.000Z",
"contact_id": null,
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": "+15550100142",
"phone_raw": "(555) 010-0142",
"phone_country_hint": "US",
"fields": {
"full_name": "Jane Doe",
"email": "Jane.Doe@example.com",
"phone_number": "(555) 010-0142",
"budget": "10k-50k",
"when_to_start": "This month"
},
"consent": [
{
"key": "marketing_optin",
"checked": true
}
]
}
}Headers
Webhook-Signature:t=…,v1=…— how to check itWebhook-Id(alsoWebhook-Event-Id): the event id, the same on every retry — skip ones you have handledWebhook-Delivery-Id: this delivery attempt, new on every try