Skip to main content
POST
Post Reaction
Adds a reaction (like) to an existing post. Write action: the reaction is publicly visible. Pass the post’s social_id as post_id — take it from the Post Detail or User Posts response, because the id visible in a LinkedIn post URL does not always resolve. See Pricing for current prices. Where supported, get a quote for your request.

Example

Path parameters and required query parameters are documented in the operation reference.

Request contract

  • Method and path: POST /apis/v1/unipile/linkedin/posts/reaction/send
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/unipile/linkedin/posts/reaction/send
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.02 USD per successful request. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
account_id
string
required

The id of the account to perform the request from.

Minimum string length: 1
post_id
string
required

The id of the post to send a reaction to.
Linkedin: use the social_id from the post object (GET post or list posts). The post id visible in url will not work in all case, you can refer here for more details : https://developer.unipile.com/docs/posts-and-comments
Instagram Please use the provider_id

Minimum string length: 1
as_organization
string

Linkedin only Provide the ID of an organization over which you have control to perform the action on its behalf.

Minimum string length: 1
comment_id
string

The id of the comment to send a reaction to. Linkedin: use the comment id returned by the comments list.

Minimum string length: 1
reaction_type
enum<string>

The type of reaction to send. If not provided, it defaults to 'like'.
Instagram: The only supported reaction type is 'like'.

Available options:
like,
celebrate,
support,
love,
insightful,
funny

Response

Created. Reaction added successfully.

object
enum<string>
required
Available options:
ReactionAdded