{ "opencollection": "1.0.0", "info": { "name": "Meta Marketing API - Lead Ads Bulk Leads Leadgen Forms API", "version": "v22.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://www.facebook.com/v22.0/dialog/oauth", "accessTokenUrl": "https://graph.facebook.com/v22.0/oauth/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Leadgen Forms", "type": "folder" }, "items": [ { "info": { "name": "List lead generation forms on a Page", "type": "http" }, "http": { "method": "GET", "url": "https://graph.facebook.com/v22.0/:page-id/leadgen_forms", "params": [ { "name": "page-id", "value": "", "type": "path", "description": "Facebook Page ID" }, { "name": "fields", "value": "", "type": "query", "description": "Comma-separated list of fields to return." } ] }, "docs": "List lead generation forms on a Page" }, { "info": { "name": "Create a lead generation form on a Page", "type": "http" }, "http": { "method": "POST", "url": "https://graph.facebook.com/v22.0/:page-id/leadgen_forms", "params": [ { "name": "page-id", "value": "", "type": "path", "description": "Facebook Page ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a lead generation form on a Page" } ] } ], "bundled": true }