cURL
curl --request POST \ --url https://api.trillet.ai/v1/api/meta-lead/configure/{flowId} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data ' { "clientId": "<string>", "clientSecret": "<string>", "userAccessToken": "<string>", "callDelaySeconds": 123, "selectedPages": [ { "pageId": "<string>", "forms": [ {} ] } ] } '
{ "success": true, "webhookRegistered": true }
Configure Meta Lead Ads integration for a specific call flow. When a new lead is received, it automatically triggers a call.
Show properties