Funnel broken down by contact source (audience) of an automation, with a per-channel conversion breakdown. Use it to compare how different audiences of the same flow perform.
contact_source_ids are the integer ids from the flow version's contact_sources (see GET /flows/api/flows/{flowUuid}).
Security
bearerAuth
POST
curl -i -X POST \
'https://leadgen.grinfi.io/flows/api/flows/{flowUuid}/statistics/contact-sources' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contact_source_ids": [
1,
2
]
}'Map of contact_source_id → statistics: contact_source_statuses, contact_source_added_by (user / filter), and contact_source_conversions with a per-channel breakdown (linkedin_connection_request, linkedin_message, email, …) carrying sent / accepted / opened / replied / blocked.
Response
{ "1": { "contact_source_statuses": { … }, "contact_source_added_by": { … }, "contact_source_conversions": { … } } }