Skip to main content

Like a Post in LinkedIn

This API allows the authenticated user to like a LinkedIn post, showing appreciation or support for the content.

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 actions/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.

Header Parameters
x-api-key uuid REQUIRED
x-api-secret uuid REQUIRED
Request Body REQUIRED
accountId string REQUIRED
profile_id string REQUIRED
Responses
Success
Schema OPTIONAL
status string
request_id string
result object
liked boolean
liked_post_url string
profile_id string
Failed
Schema OPTIONAL
status string
request_id string
error string