rizamodocs
Inbox

Like a comment

POST
/inbox/threads/{id}/messages/{messageId}/like

Likes the comment as the Facebook Page, or takes the like back (liked: false), then records it on the message. Comments on Facebook only, by others than the Page. Errors: 400, before any call, when it is not a comment (a message) or its network does not allow it for this comment, with why (moderationProblem); 422 capability_missing when the account's login does not allow managing comments (on Threads, until Meta approves Rizamo's access to replies); 409 when the account needs a new login or is not active, the reply is still sending, or the network refused, with its reason; 404 for a thread or comment the caller does not reach.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the web app, under Developers. It starts with rz_live_.

Path Parameters

id*string

The thread's id (thr_).

Lengthlength <= 100
messageId*string

The comment's message id (msg_), from Get a thread.

Lengthlength <= 100

Header Parameters

Idempotency-Key?string

1 to 255 printable characters, new for each request (a UUID); the body up to 1 MB. For 24 hours a repeat with the same key, path and body gets the first answer, with Idempotent-Replayed: true, instead of running again; 5xx, 409 and 429 answers are not kept. Errors, Retries, has the rest.

Length1 <= length <= 255

Request Body

application/json
  1. body
liked?boolean

True likes it (the default), false takes the like back.

Defaulttrue

Response Body

OK

application/json
  1. response
id*string
threadId*string
direction*string
Value in"in""out"
text*string

Empty when the network does not share it, as Instagram does not for GIF and sticker comments, or when the message is only an attachment.

at*string
Formatdate-time
sentBy*||||null
author*|

Who wrote it, when not the thread's contact or the account: another person replying in a comment thread.

delivery*|

Where a reply stands. sending: on its way (a Threads or YouTube reply goes out in the background, within seconds to a minute; read the thread again to follow it). sent: on the network. failed: not sent, with why in deliveryError; reply again with retryOf set to its id to try it once more, which never sends it twice. Null for messages received.

deliveryError*|

Why the reply was not sent, in plain words, when delivery is failed.

hidden*boolean

Comments: hidden on the network, from Rizamo (Hide a comment) or the network's own app, as Rizamo last read it. Others no longer see it; the person who wrote it may. Always false for messages.

liked*|

Facebook comments: whether the Page likes it (Like a comment). Null elsewhere, where Rizamo does not like comments.

first*boolean

Comments: the thread's first comment, which started it. Deleting it deletes the thread, and it is the only one Threads hides (with the replies under it). False for the replies, and for every message; false for all of a thread whose first comment Rizamo never read.

Example Request
curl -X POST 'https://api.rizamo.com/v1/inbox/threads/thr_01m4ckt980em09vyrhvr9tf4am/messages/msg_01m4evxdc0fbt8xh2rc4hhptg1/like' \  -H 'Idempotency-Key: 4b9e7c1a-2f3d-4e8a-9c6b-1d2e3f4a5b6c' \  -H 'Content-Type: application/json' \  -d '{  "liked": true}'
Example Response
{  "id": "msg_01m4evxdc0fbt8xh2rc4hhptg1",  "threadId": "thr_01m4ckt980em09vyrhvr9tf4am",  "direction": "in",  "text": "Best pastel de nata in Príncipe Real!",  "at": "2026-11-06T10:14:00.000Z",  "sentBy": null,  "author": null,  "delivery": null,  "deliveryError": null,  "hidden": false,  "liked": true,  "first": true}