Skip to content

Automation contact-source statistics

Request

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
Path
flowUuidstringrequired

Automation UUID.

Bodyapplication/jsonrequired
contact_source_idsArray of integersrequired
POST
/flows/api/flows/{flowUuid}/statistics/contact-sources
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
    ]
  }'

Responses

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.

Bodyapplication/json
property name*objectadditional property
Response
{ "1": { "contact_source_statuses": {}, "contact_source_added_by": {}, "contact_source_conversions": {} } }