ApiUncategorized
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
/followFollow 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 '/linkedin/follow' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"accountId":"string","profileId":"string","profileUrn":"string","action":"follow"}'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 | No | LinkedIn profile public ID (e.g., "john-doe-123") |
profileUrn | string | No | LinkedIn profile URN (e.g., "urn:li:fsd_profile:ABC123") |
action | string | No | Action to perform: follow or unfollow the profile |
Example
{
"accountId": "string",
"profileId": "string",
"profileUrn": "string",
"action": "follow"
}Responses
| Status | Description |
|---|---|
| 200 | Follow action completed successfully |
