Retrieve Available Connections
The GET /api/v1/connections
endpoint retrieves a list of all LinkedIn connections (2nd or 3rd+ -degree contacts who accepted your invitation) associated with a specific LinkedIn profile you've added via Salesflow.
Endpoint:
GET/api/v1/connections
curl https://api.salesflow.io/public/v1/connections \
--header 'X-AccountId: 1234567890' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
Note:
The X-AccountId
header is required.
You get this ID after adding a LinkedIn account through the iFrame onboarding flow.
Query Parameters:
Parameter |
Type |
Description |
---|---|---|
|
int32 |
Number of records to return (maximum: 100) |
|
int32 |
Offset for pagination (minimum: 0) |
|
int32 |
Sorting method: |
Responce :
{
"connections": [
{
"connectedAt": "2025-07-01T14:23:00Z",
"linkedInMemberId": "abcdef123456",
"profileId": "abc-xyz-789",
"firstName": "John",
"lastName": "Doe",
"publicIdentifier": "john-doe-123",
"trackingId": "track-456",
"occupation": "Sales Director at ExampleCorp",
"backgroundPictureUrl": "https://linkedin.com/bg.jpg",
"profilePictureUrl": "https://linkedin.com/pic.jpg",
"profilePictureUrlLarge": "https://linkedin.com/pic_large.jpg"
}
]
}
Use Cases for Integrators
1. Build a CRM Contact List
Fetch and sync all accepted LinkedIn connections into your own CRM or contact database for future nurturing.
2. Trigger Follow-up Messaging
Use this endpoint to identify users who recently connected, then send them an automated follow-up message using the Send Message
endpoint.
3. Filter and Tag Leads
Pull connections based on their title or company (occupation
), and categorize or tag them based on sales stages or personas.
4. Campaign Performance Analysis
Compare the number of connections retrieved here with the number of invites sent (from /api/v1/invitations/sent) to measure connection rate.
5. Syncing with External Systems
Integrate this with your marketing automation, like syncing newly connected leads into HubSpot, Salesforce, or an email drip tool.