Fetch LinkedIn profile information
Retrieve detailed profile information for a LinkedIn member including name, headline, location, experience, education, and connections. Optionally include geo location details and contact information (email, phone if visible).
/profileFetch LinkedIn profile information
Retrieve detailed profile information for a LinkedIn member including name, headline, location, experience, education, and connections. Optionally include geo location details and contact information (email, phone if visible).
Code Examples
curl -X POST 'https://api.connectsafely.ai/linkedin/profile' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"profileId":"john-doe-123"}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
profileId | string | Yes | LinkedIn profile public ID (e.g., "john-doe-123") |
includeGeoLocation | boolean | No | Include detailed geo location data (city, country, coordinates) |
includeContact | boolean | No | Include contact info (email, phone) if visible to viewer |
Example
{
"profileId": "john-doe-123"
}Responses
| Status | Description |
|---|---|
| 200 | Profile information retrieved successfully |
LinkedIn Profiles API
Retrieve enriched LinkedIn profile data via API. Get work history, skills, education, and contact information for lead enrichment and CRM sync.
Get user organizations
Fetch all LinkedIn organizations (company pages) the authenticated user has admin or posting access to. Returns organization URN, name, and role. Use the organization URN for posting content as a company or commenting as a company page.
