Follow a LinkedIn Profile
POST /api/v1/follow
This API allows the authenticated user to follow a specific LinkedIn profile, receiving updates and notifications from that user's professional activities.
The profile_id is a unique identifier used by LinkedIn to distinguish individual user profiles. On WeLink, you can obtain the profile_id by calling the /api/v1/get_profile_details API. In the response of this API, the field profile_id is provided. This value should be used as the profile_id when making requests to other WeLink APIs that require a LinkedIn profile reference.
Headers
| Name | Type | Required |
|---|---|---|
x-api-key | string | Yes |
x-api-secret | string | Yes |
Request Body
Schema
accountIdstringrequiredThe unique identifier of the WeLink account.
profile_idstringrequiredThe unique identifier of the LinkedIn profile.
Sample Request
{
"accountId": "string",
"profile_id": "string"
}
Responses
Webhook Events
Schema
statusstringStatus indicating the request completed successfully (e.g. "SUCCESS").
requestIdstringUnique identifier for the request.
resultobjectThe response payload.
followedbooleanWhether the profile was followed/unfollowed.
profile_idstringrequiredThe unique identifier of the LinkedIn profile.
Sample Response
{
"status": "string",
"requestId": "string",
"result": {
"followed": false,
"profile_id": "string"
}
}