Retrieve Own Profile

This endpoint fetches the LinkedIn profile information of the authenticated LinkedIn account that was added via the iFrame onboarding flow.

Retrieves the profile of the authenticated LinkedIn account.
GET/api/v1/profiles/me

curl https://api.salesflow.io/public/v1/profiles/me \
  --header 'X-AccountId: 1234567890' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'

Note:

X-AccountId is required in the request header. You obtain this ID after adding a LinkedIn account through the iFrame authentication flow.

Response:

{
  "profileId": "abc-xyz-123",
  "linkedInMemberId": 1,
  "firstName": "Jane",
  "lastName": "Doe",
  "profilePictureUrl": "https://media.licdn.com/profile-pic.jpg",
  "publicIdentifier": "jane-doe",
  "premium": true,
  "occupation": "Marketing Director at GrowthEdge"
}

Use Cases

  • Profile Verification

    • Confirm the LinkedIn identity of the user currently authenticated with your platform.

  • Account Sync & Display

    • Pull display name, avatar, and occupation to show on your dashboard or CRM UI.