Create a new contact and immediately add them to an automation. The contact is created in the specified list and starts the automation sequence. If skip_if_lead_exists is true, existing contacts won't be added again.
Security
bearerAuth
POST
curl -i -X POST \
'https://leadgen.grinfi.io/flows/api/flows/{flowUuid}/add-new-lead' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"lead": {
"linkedin_id": "john-doe-123456",
"first_name": "John",
"last_name": "Doe",
"company_name": "Acme Inc"
},
"list_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"skip_if_lead_exists": true
}'