Check Relationship Status (Specific Account)

Check relationship status with a LinkedIn user using a specific account

GET/linkedin/relationship/{accountId}/{profileId}

Check Relationship Status (Specific Account)

Check relationship status with a LinkedIn user using a specific account

Authentication requiredLinkedIn Actions

Code Examples

curl -X GET 'https://api.connectsafely.ai/linkedin/relationship/<accountId>/<profileId>' \
-H 'Authorization: Bearer <your_api_key>' \

Parameters

NameInRequiredTypeDescription
accountIdpathYesstringLinkedIn account ID
profileIdpathYesstringLinkedIn profile ID

Request Body

No request body.

Responses

StatusDescription
200Successful response

200 Example

{
  "connected": false,
  "invitationSent": false,
  "status": "none",
  "accountId": "507f1f77bcf86cd799439011"
}