Like a Post or Reply
Endpoint allows to like existing post or Reply
Create new like for post or reply
POST
https://api.whisk.com/v2/reaction
Method allows to create a like for reply or for post. Like will be added to object.
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | User Access token to authorize the API usage. For more information, see Authentication |
Request Body
Name | Type | Description |
---|---|---|
like* | Boolean | Shows whether its like or dislike |
reaction* | Object | Image object. Contain list of parameters related to reaction. |
reply | String | If object is a reply |
target* | Object | An object for like attribute |
post | String | If object is a post |
Request body
Sample request and response
Last updated