curl --location 'https://graph.facebook.com/v18.0/<FORM_ID>/leads?limit=500&access_token=<LONG_LIVED_ACESS_TOKEN>'
- Replace
<FORM_ID>
with form id, e.g. 1260551454918979 - Replace
<LONG_LIVED_ACESS_TOKEN>
with your access token
{
"data": [
{
"created_time": "2024-07-18T13:42:25+0000",
"id": "1298429028153341",
"field_data": [
{
"name": "question4",
"values": [
"Path plus"
]
},
{
"name": "question5",
"values": [
"Nothing"
]
},
{
"name": "question1",
"values": [
"Nikhil Bhardwaj"
]
},
{
"name": "question2",
"values": [
"[email protected]"
]
},
{
"name": "question3",
"values": [
"+9180592XXXXX"
]
}
]
}
],
"paging": {}
}
Docs: https://developers.facebook.com/docs/marketing-api/guides/lead-ads/retrieving/