v1

latestOpenAPI 3.0.02026-07-249301.3 MB
Posts

Add a reaction to a post

React to either a post or a post comment.

post/api/v1/posts/reaction

Request body

account_idstring required

The id of the account to perform the request from.

as_organizationstring

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

post_idstring required

The id of the post to send a reaction to. <br> 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 <br> Instagram Please use the provider_id

comment_idstring

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

reaction_type'like' | 'celebrate' | 'support' | 'love' | 'insightful' | 'funny'

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

Response

Created. Reaction added successfully.

object'ReactionAdded' required