get_meta_lead_form_submissions

Meta Ads Read

User wants to see lead submissions, lead data, or leads collected from a Meta lead form

Endpoint

POST https://api.adspirer.ai/api/v1/tools/get_meta_lead_form_submissions/execute

Headers

Description

User wants to see lead submissions, lead data, or leads collected from a Meta lead form. Retrieves individual lead submissions for a specific lead form, including contact details and associated ad/campaign information. When to use this tool: - "Show me the leads from form X" - "Get my lead form submissions" - "Download my Meta leads" - "Show lead data from my campaign" - "How many leads did I get?" Returns per lead: - Submission timestamp - Field data (name, email, phone, etc. — varies by form) - Source: organic or paid (with campaign name and ad name) - Lead ID Parameters: - form_id: Lead form ID (required — get from list_meta_lead_forms) - ad_account_id: Required for multi-account users. Get from list_connected_accounts - limit: Maximum leads to return (default: 100) Permission: Requires 'leads_retrieval' scope. If the user gets a permission error, they need to disconnect and reconnect their Meta account to grant the updated permissions. Execution time: 2-5 seconds Data source: Meta Marketing API (live)

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
form_idstring requiredLead form ID (required). Get available form IDs from list_meta_lead_forms tool.
ad_account_idstring optionalMeta Ad Account ID. Required for multi-account users. Get from list_connected_accounts.
limitinteger optionalMaximum number of lead submissions to return (default: 100) default: 100

Example request

{
  "arguments": {
    "form_id": "string",
    "ad_account_id": "string",
    "limit": 100
  }
}

Example responses

200 — Success

{
  "success": true,
  "data": {
    "text": "(tool-specific textual output for get_meta_lead_form_submissions)",
    "quota": {
      "used": 42,
      "limit": 150,
      "tier": "plus",
      "period_end": "2026-05-01"
    }
  },
  "tool": "get_meta_lead_form_submissions"
}

400 — Tool-level error (bad arguments / multi-account selection)

{
  "success": false,
  "error": "You have 25 meta_ads accounts connected. Please specify which account to use by passing the ad_account_id parameter:\n  - Acme Holdings (ad_account_id=\"act_123456789\")\n  - Acme EU (ad_account_id=\"act_987654321\")",
  "is_error": true,
  "tool": "get_meta_lead_form_submissions"
}

402 — Quota exhausted

{
  "success": false,
  "error": "\ud83d\udea8 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
  "is_error": true,
  "tool": "get_meta_lead_form_submissions",
  "quota": {
    "used": 150,
    "limit": 150,
    "tier": "plus",
    "period_end": "2026-05-01",
    "upgrade_url": "https://adspirer.ai"
  }
}

Try it live


Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai