Facebook Pixel
ApiUncategorized

Check relationship status with profile

Check the relationship between your default LinkedIn account and a target profile. Returns connection status (1st, 2nd, 3rd degree), whether you follow them, and if you are connected. Useful for determining which actions are available (message, connect, etc.).

GET/relationship/{profileId}

Check relationship status with profile

Check the relationship between your default LinkedIn account and a target profile. Returns connection status (1st, 2nd, 3rd degree), whether you follow them, and if you are connected. Useful for determining which actions are available (message, connect, etc.).

Authentication requiredRelationships

Code Examples

curl -X GET '/linkedin/relationship/<profileId>' \
-H 'Authorization: Bearer <your_api_key>' \

Parameters

NameInRequiredTypeDescription
profileIdpathYesstringLinkedIn profile public ID (e.g., "john-doe-123")

Request Body

No request body.

Responses

StatusDescription
200Relationship status retrieved successfully