Increment or decrement the like count on an approved comment.
Increment or decrement the like count on an approved comment.
POST
https://app.softsolz.uk/api/v1/services/blogs/comments/{id}/likeRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Body Params
deltaintegerUse 1 to like, -1 to remove a like. Defaults to 1.
Response
Response Body
likesintegerUpdated like count.Request
curl --request POST \ --url https://app.softsolz.uk/api/v1/services/blogs/comments/{id}/like \ --header 'Authorization: Bearer sk_live_your_key' \ --header 'Content-Type: application/json' \ --data '{ "delta": 1}'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 200
{ "data": { "likes": 1 }}