Manage your CRM contacts (leads). Search, create, update, and organize contacts across lists and pipeline stages.
Grinfi.io API (2.0.0)
Complete API reference for Grinfi.io — the all-in-one LinkedIn & email outreach platform. Use this API to manage your CRM contacts, run outreach automations, send messages, and integrate Grinfi with your own tools.
All requests require a Bearer token in the Authorization header.
- Log in at leadgen.grinfi.io
- Go to Settings → API Keys
- Copy your key and pass it as:
Authorization: Bearer YOUR_API_KEY
List endpoints support limit (default 20) and offset (default 0) query parameters. Responses include total count and has_more boolean.
Most list endpoints accept a filter object. Supported value types: | Type | Example | SQL equivalent | |------|---------|----------------| | Scalar | "status": "ok" | = 'ok' | | Array | "status": ["ok", "pending"] | IN ('ok', 'pending') | | Object | "created_at": {">=": "2024-01-01"} | >= '2024-01-01' | | "is_null" | "email": "is_null" | IS NULL | | "is_not_null" | "email": "is_not_null" | IS NOT NULL | Supported operators: =, !=, <, <=, >, >=, <>
Request
Retrieve emails from your unified inbox. Filter by contact, sender profile, mailbox, type (inbox/outbox), status, and date range.
- Productionhttps://leadgen.grinfi.io/emails/api/emails
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://leadgen.grinfi.io/emails/api/emails?limit=20&offset=0&order_field=created_at&order_type=asc&q=string&lead_uuid=string&sender_profile_uuid=string&mailbox_uuid=string&type=string&status=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "data": [ { … } ], "limit": 0, "offset": 0, "total": 0 }
- Productionhttps://leadgen.grinfi.io/emails/api/emails/{uuid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://leadgen.grinfi.io/emails/api/emails/{uuid}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "team_id": 0, "user_id": 0, "sender_profile_uuid": "5d4d9d60-1e0b-400d-94d5-85c4b6a306f6", "mailbox_uuid": "d68f8f4c-fb28-4e30-b007-98bce1cb2c0d", "email_body_uuid": "1d55729a-d2ea-41f8-ab9d-f02ee9e2eb16", "flow_uuid": "11840a54-032e-452f-857e-bb369a5e7afa", "lead_uuid": "10b13691-d53f-44ed-aea6-f585d60459aa", "status": "string", "type": "string", "from_name": "string", "from_email": "string", "to_name": "string", "to_email": "string", "cc": [ "string" ], "bcc": [ "string" ], "subject": "string", "replied_to_uuid": "368fd351-527e-488b-8949-d5667d0de6f9", "bounced_by_uuid": "97ba3dcc-25e4-4028-a3f6-3cb32a51331d", "sent_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
- Productionhttps://leadgen.grinfi.io/emails/api/emails/{uuid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://leadgen.grinfi.io/emails/api/emails/{uuid}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'