You will find here grinfi.io Public API documentation
https://leadgen.grinfi.io/
Data for looking up a contact. If linkedin_id is provided, it will be processed to derive related identification information. Alternatively, you can provide an email or a combination of name and company_name.
LinkedIn ID used for lookup. If provided, it will be parsed to extract additional contact identifiers.
https://leadgen.grinfi.io/leads/api/leads/lookup-one
curl -i -X POST \
  https://leadgen.grinfi.io/leads/api/leads/lookup-one \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "linkedin_id": "string",
    "email": "string",
    "name": "string",
    "company_name": "string",
    "disable_aggregation": true
  }'{ "uuid": "uuid-uuid-uuid-uuid-example", "team_id": 1, "user_id": 1, "sender_profile_uuid": "uuid-uuid-uuid-uuid-example", "list_uuid": "uuid-uuid-uuid-uuid-example", "data_source_uuid": "uuid-uuid-uuid-uuid-example", "pipeline_stage_uuid": "uuid-uuid-uuid-uuid-example", "company_uuid": "uuid-uuid-uuid-uuid-example", "name": "Christina Sletner", "first_name": "Christina", "last_name": "Sletner", "company_name": "Advania Norge", "company_ln_id": "98", "position": "Sales & Partner Manager", "headline": "Sales & Partner Manager I ERP-/Dynamics 365 Finance/OnSite 365 at Advania Norge", "about": "Busy times with contributing to our customers' cloud journey...", "avatar_url": "https://example.com/avatar.jpg", "ln_id": "ACoAAAB6GuQBOXo75numqJfM9u08uHgjOSo4p9U", "sn_id": "ACwAAAB6GuQBEz2TMHbG4sa7Nw5wSi7cJXMQkPI", "linkedin": "christina-sletner-b4481a2", "facebook": "christina-sletner", "twitter": "christina-sletner", "work_email": "christina.sletner@advania.no", "personal_email": "christina88@yahoo.com", "work_phone_number": "+123456789", "personal_phone_number": "+123456789", "connections_number": 500, "followers_number": 1000, "primary_language": "en", "supported_languages": [ "en", "no" ], "has_open_profile": 1, "has_verified_profile": 1, "has_premium": 1, "experience": [ { … } ], "posts": [ { … } ], "educations": [ { … } ], "skills": [ "Project Management", "Sales", "ERP Systems" ], "top_voices": [ "Thought Leader 1", "Influencer 2" ], "raw_address": "Oslo, Oslo, Norway", "location": [ { … } ], "tags": [ "uuid-uuid-uuid-uuid-example", "uuid-uuid-uuid-uuid-example" ], "status": "ok", "linkedin_status": "active", "email_status": "verified", "unread_counts": [ { … } ], "last_automation_approve_at": "2023-07-21T10:15:30Z", "created_at": "2022-12-11T10:00:00Z", "updated_at": "2022-12-11T11:00:00Z" }
Searches contacts using advanced filters, sorting, and pagination. Returns a list of matched contacts with optional aggregation.
Array → IN query "work_email": ["john@example.com", "simon@example.com"]
Object → Comparison query with operators "created_at": {">=": "2023-01-01"}
Supported operators: =, !=, <, <=, >, >=, <>
Special Strings
"is_null" → IS NULL"is_not_null" → IS NOT NULLScalar value → Equals query "linkedin_status": "ok"
Filters to apply when searching contacts.
https://leadgen.grinfi.io/leads/api/leads/search
curl -i -X POST \
  https://leadgen.grinfi.io/leads/api/leads/search \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "filter": {
      "name": "John Smith",
      "company_name": "Example Inc.",
      "email_status": "ok"
    },
    "limit": 20,
    "offset": 0,
    "order_field": "name",
    "order_type": "asc",
    "disable_aggregation": false
  }'{ "data": [ { … } ], "limit": 20, "offset": 0, "total": 142 }
https://leadgen.grinfi.io/leads/api/leads/{uuid}
curl -i -X GET \
  'https://leadgen.grinfi.io/leads/api/leads/{uuid}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "uuid": "uuid-uuid-uuid-uuid-example", "team_id": 1, "user_id": 1, "sender_profile_uuid": "uuid-uuid-uuid-uuid-example", "list_uuid": "uuid-uuid-uuid-uuid-example", "data_source_uuid": "uuid-uuid-uuid-uuid-example", "pipeline_stage_uuid": "uuid-uuid-uuid-uuid-example", "company_uuid": "uuid-uuid-uuid-uuid-example", "name": "Christina Sletner", "first_name": "Christina", "last_name": "Sletner", "company_name": "Advania Norge", "company_ln_id": "98", "position": "Sales & Partner Manager", "headline": "Sales & Partner Manager I ERP-/Dynamics 365 Finance/OnSite 365 at Advania Norge", "about": "Busy times with contributing to our customers' cloud journey...", "avatar_url": "https://example.com/avatar.jpg", "ln_id": "ACoAAAB6GuQBOXo75numqJfM9u08uHgjOSo4p9U", "sn_id": "ACwAAAB6GuQBEz2TMHbG4sa7Nw5wSi7cJXMQkPI", "linkedin": "christina-sletner-b4481a2", "facebook": "christina-sletner", "twitter": "christina-sletner", "work_email": "christina.sletner@advania.no", "personal_email": "christina88@yahoo.com", "work_phone_number": "+123456789", "personal_phone_number": "+123456789", "connections_number": 500, "followers_number": 1000, "primary_language": "en", "supported_languages": [ "en", "no" ], "has_open_profile": 1, "has_verified_profile": 1, "has_premium": 1, "experience": [ { … } ], "posts": [ { … } ], "educations": [ { … } ], "skills": [ "Project Management", "Sales", "ERP Systems" ], "top_voices": [ "Thought Leader 1", "Influencer 2" ], "raw_address": "Oslo, Oslo, Norway", "location": [ { … } ], "tags": [ "uuid-uuid-uuid-uuid-example", "uuid-uuid-uuid-uuid-example" ], "status": "ok", "linkedin_status": "active", "email_status": "verified", "unread_counts": [ { … } ], "last_automation_approve_at": "2023-07-21T10:15:30Z", "created_at": "2022-12-11T10:00:00Z", "updated_at": "2022-12-11T11:00:00Z" }
https://leadgen.grinfi.io/leads/api/leads/{uuid}
curl -i -X PUT \
  'https://leadgen.grinfi.io/leads/api/leads/{uuid}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "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"
  }'{ "uuid": "uuid-uuid-uuid-uuid-example", "team_id": 1, "user_id": 1, "sender_profile_uuid": "uuid-uuid-uuid-uuid-example", "list_uuid": "uuid-uuid-uuid-uuid-example", "data_source_uuid": "uuid-uuid-uuid-uuid-example", "pipeline_stage_uuid": "uuid-uuid-uuid-uuid-example", "company_uuid": "uuid-uuid-uuid-uuid-example", "name": "Christina Sletner", "first_name": "Christina", "last_name": "Sletner", "company_name": "Advania Norge", "company_ln_id": "98", "position": "Sales & Partner Manager", "headline": "Sales & Partner Manager I ERP-/Dynamics 365 Finance/OnSite 365 at Advania Norge", "about": "Busy times with contributing to our customers' cloud journey...", "avatar_url": "https://example.com/avatar.jpg", "ln_id": "ACoAAAB6GuQBOXo75numqJfM9u08uHgjOSo4p9U", "sn_id": "ACwAAAB6GuQBEz2TMHbG4sa7Nw5wSi7cJXMQkPI", "linkedin": "christina-sletner-b4481a2", "facebook": "christina-sletner", "twitter": "christina-sletner", "work_email": "christina.sletner@advania.no", "personal_email": "christina88@yahoo.com", "work_phone_number": "+123456789", "personal_phone_number": "+123456789", "connections_number": 500, "followers_number": 1000, "primary_language": "en", "supported_languages": [ "en", "no" ], "has_open_profile": 1, "has_verified_profile": 1, "has_premium": 1, "experience": [ { … } ], "posts": [ { … } ], "educations": [ { … } ], "skills": [ "Project Management", "Sales", "ERP Systems" ], "top_voices": [ "Thought Leader 1", "Influencer 2" ], "raw_address": "Oslo, Oslo, Norway", "location": [ { … } ], "tags": [ "uuid-uuid-uuid-uuid-example", "uuid-uuid-uuid-uuid-example" ], "status": "ok", "linkedin_status": "active", "email_status": "verified", "unread_counts": [ { … } ], "last_automation_approve_at": "2023-07-21T10:15:30Z", "created_at": "2022-12-11T10:00:00Z", "updated_at": "2022-12-11T11:00:00Z" }
https://leadgen.grinfi.io/leads/api/leads/{uuid}
curl -i -X DELETE \
  'https://leadgen.grinfi.io/leads/api/leads/{uuid}' \
  -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.
https://leadgen.grinfi.io/leads/api/leads/upsert
curl -i -X POST \
  https://leadgen.grinfi.io/leads/api/leads/upsert \
  -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
  }'{ "uuid": "uuid-uuid-uuid-uuid-example", "team_id": 1, "user_id": 1, "sender_profile_uuid": "uuid-uuid-uuid-uuid-example", "list_uuid": "uuid-uuid-uuid-uuid-example", "data_source_uuid": "uuid-uuid-uuid-uuid-example", "pipeline_stage_uuid": "uuid-uuid-uuid-uuid-example", "company_uuid": "uuid-uuid-uuid-uuid-example", "name": "Christina Sletner", "first_name": "Christina", "last_name": "Sletner", "company_name": "Advania Norge", "company_ln_id": "98", "position": "Sales & Partner Manager", "headline": "Sales & Partner Manager I ERP-/Dynamics 365 Finance/OnSite 365 at Advania Norge", "about": "Busy times with contributing to our customers' cloud journey...", "avatar_url": "https://example.com/avatar.jpg", "ln_id": "ACoAAAB6GuQBOXo75numqJfM9u08uHgjOSo4p9U", "sn_id": "ACwAAAB6GuQBEz2TMHbG4sa7Nw5wSi7cJXMQkPI", "linkedin": "christina-sletner-b4481a2", "facebook": "christina-sletner", "twitter": "christina-sletner", "work_email": "christina.sletner@advania.no", "personal_email": "christina88@yahoo.com", "work_phone_number": "+123456789", "personal_phone_number": "+123456789", "connections_number": 500, "followers_number": 1000, "primary_language": "en", "supported_languages": [ "en", "no" ], "has_open_profile": 1, "has_verified_profile": 1, "has_premium": 1, "experience": [ { … } ], "posts": [ { … } ], "educations": [ { … } ], "skills": [ "Project Management", "Sales", "ERP Systems" ], "top_voices": [ "Thought Leader 1", "Influencer 2" ], "raw_address": "Oslo, Oslo, Norway", "location": [ { … } ], "tags": [ "uuid-uuid-uuid-uuid-example", "uuid-uuid-uuid-uuid-example" ], "status": "ok", "linkedin_status": "active", "email_status": "verified", "unread_counts": [ { … } ], "last_automation_approve_at": "2023-07-21T10:15:30Z", "created_at": "2022-12-11T10:00:00Z", "updated_at": "2022-12-11T11:00:00Z" }