API referenceComments
POST /inbox/posts/{postId}/like
Like a post as the account, where supported (else 400 not_supported). postId: the platform post id (a Postgale post id works for posts it published). Queued for approval (202) while approval applies
POST
BearerAuthheader
AuthorizationBearer <token>API key sk_...
postId*stringPlatform post id
application/json- body
accountId*stringConnected account id (must belong to the key's organization)
reactionType?stringLinkedIn: the reaction to create (default LIKE)
Value in
"LIKE""PRAISE""EMPATHY""INTEREST""APPRECIATION""ENTERTAINMENT"{accountId, platformPostId, liked}
application/json- response
accountId?stringplatformPostId?stringliked?booleancurl -X POST 'https://example.com/api/v1/inbox/posts/string/like' \ -H 'Content-Type: application/json' \ -d '{ "accountId": "string"}'Example Response
{ "accountId": "string", "platformPostId": "string", "liked": true}POST /inbox/comments/{commentId}/{childId}/private-reply POST
Send a direct message to the author of the comment (Instagram, Facebook private replies; else 400 not_supported). Queued for approval (202) while approval applies
DELETE /inbox/posts/{postId}/like DELETE
Remove the account's like from a post. Queued for approval (202) while approval applies