You will find here grinfi.io Public API documentation
You will find here grinfi.io Public API documentation
curl -i -X GET \
'https://leadgen.grinfi.io/flows/api/flows?flow_version_uuid=string&flow_workspace_uuid=string&is_public=string&limit=20&offset=0&order_field=created_at&order_type=asc&q=string&status=string&user_id=string&uuid=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "data": [ { … } ], "limit": 20, "offset": 0, "total": 199, "has_more": true }
curl -i -X PUT \
'https://leadgen.grinfi.io/flows/api/flows/{flowUuid}/start' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "uuid": "uuid-uuid-uuid-uuid-example", "public_uuid": "uuid-uuid-uuid-uuid-example", "team_id": 1, "name": "CMO Germany", "flow_workspace_uuid": "uuid-uuid-uuid-uuid-example", "flow_version_uuid": "uuid-uuid-uuid-uuid-example", "schedule": { "timezone": "Asia/Omsk", "use_lead_timezone": false, "timeblocks": [ … ] }, "description": "This is a flow description", "priority": 10, "status": "on", "is_public": true, "user_id": 1, "created_at": "2024-12-11T12:34:56Z", "updated_at": "2024-12-11T12:34:56Z" }
curl -i -X PUT \
'https://leadgen.grinfi.io/flows/api/flows/{flowUuid}/stop' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "uuid": "uuid-uuid-uuid-uuid-example", "public_uuid": "uuid-uuid-uuid-uuid-example", "team_id": 1, "name": "CMO Germany", "flow_workspace_uuid": "uuid-uuid-uuid-uuid-example", "flow_version_uuid": "uuid-uuid-uuid-uuid-example", "schedule": { "timezone": "Asia/Omsk", "use_lead_timezone": false, "timeblocks": [ … ] }, "description": "This is a flow description", "priority": 10, "status": "on", "is_public": true, "user_id": 1, "created_at": "2024-12-11T12:34:56Z", "updated_at": "2024-12-11T12:34:56Z" }
curl -i -X POST \
'https://leadgen.grinfi.io/flows/api/flows/{flowUuid}/leads/{leadUuid}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
The contact data to be created and attached to the automation.
The contact's LinkedIn ID or profile handle.
The name of the company the contact is associated with.
A contactable email address for the contact.
Custom fields and their values.
If true (default), updates contact if it already exists.
If true, moves the existing contact to the specified list.
The ID of a specific automation segment. Defaults to 1 if not provided.
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 or ACoAAAB6GuQBOXo75numqJfM9u08uHgjOSo4p9U",
"first_name": "John",
"last_name": "Doe",
"company_name": "ExampleCorp",
"ln_id": "ACoAAAB6GuQBOXo75numqJfM9u08uHgjOSo4p9U",
"sn_id": "ACwAAAB6GuQBEz2TMHbG4sa7Nw5wSi7cJXMQkPI",
"linkedin": "christina-sletner-b4481a2",
"email": "john.doe@example.com",
"about": "john.doe@example.com",
"domain": "somecoolcompany.com",
"headline": "Sales & Partner Manager I ERP-/Dynamics 365 Finance/OnSite 365 at Advania Norge",
"position": "Sales & Partner Manager",
"raw_address": "Oslo, Oslo, Norway"
},
"custom_fields": {
"field_position": "CTO",
"field_experience": "10 years"
},
"list_uuid": "uuid-uuid-uuid-uuid",
"update_if_exists": true,
"move_to_list": false,
"flow_segment_id": 1,
"skip_if_lead_exists": true
}'
No content
curl -i -X PUT \
'https://leadgen.grinfi.io/flows/api/flows/leads/{leadUuid}/cancel' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"flow_uuids": []
}'