rizamodocs
Inbox

Hide a comment

PATCH
/inbox/threads/{id}/messages/{messageId}

Hides the comment on its network, as the account, or shows it again (hidden: false), then records it on the message. The account's own comments are never hidden, and on Threads only first-level replies (first), which hide the replies under them too. 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

Request Body

application/json
  1. body
hidden*boolean

True hides it, false shows it again.

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 PATCH 'https://api.rizamo.com/v1/inbox/threads/thr_01m4bvs7w0fmf9g0mrdy7j6bc5/messages/msg_01m4dbvam0e87bh8nfk28wrqne' \  -H 'Content-Type: application/json' \  -d '{  "hidden": true}'
Example Response
{  "id": "msg_01m4dbvam0e87bh8nfk28wrqne",  "threadId": "thr_01m4bvs7w0fmf9g0mrdy7j6bc5",  "direction": "in",  "text": "Is the orange latte available with oat milk?",  "at": "2026-11-06T10:14:00.000Z",  "sentBy": null,  "author": null,  "delivery": null,  "deliveryError": null,  "hidden": true,  "liked": null,  "first": true}