Facebook Pixel
APILinkedIn Actions

Follow or unfollow a LinkedIn profile

Follow or unfollow a LinkedIn member to see their posts in your feed. Following does not require a connection. Provide either profileId (public identifier) or profileUrn (internal URN). Following builds your network visibility without sending connection requests.

POST/follow

Follow or unfollow a LinkedIn profile

Follow or unfollow a LinkedIn member to see their posts in your feed. Following does not require a connection. Provide either profileId (public identifier) or profileUrn (internal URN). Following builds your network visibility without sending connection requests.

Authentication requiredActions

Code Examples

curl -X POST 'https://api.connectsafely.ai/linkedin/follow' \
-H 'Authorization: Bearer <your_api_key>' \
-H 'Content-Type: application/json' \
-d '{"accountId":"acc_12345","profileId":"john-doe-123","profileUrn":"urn:li:fsd_profile:ACoAABcdefgh","action":"follow"}'

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use. If not provided, uses the default account.
profileIdstringNoLinkedIn profile public ID (e.g., "john-doe-123")
profileUrnstringNoLinkedIn profile URN (e.g., "urn:li:fsd_profile:ABC123")
actionstringNoAction to perform: follow or unfollow the profile

Example

{
  "accountId": "acc_12345",
  "profileId": "john-doe-123",
  "profileUrn": "urn:li:fsd_profile:ACoAABcdefgh",
  "action": "follow"
}

Responses

StatusDescription
200Follow action completed successfully