Skip to Content
SaaSFlow
DevelopersAPIReferencecomments

Like

Add the calling user to a comment's likes. Idempotent: liking twice does not duplicate the user or inflate the count.

Authentication

Checking whether you're signed in…
PUT
/companies/{companyId}/comments/{commentId}/like

Authorization

headerAuthorization<token>

A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.

Path Parameters

companyId*string
Formatuuid
commentId*string
Formatuuid

Response Body

Comment liked

application/json
  1. response
success*boolean
Example Request
curl -X PUT 'https://api.saasflow.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/comments/497f6eca-6276-4993-bfeb-53cbbbba6f08/like'
Example Response200
{  "success": true}