Inbox

Hide a comment

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.

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

Request

  • Base URL
    https://api.rizamo.com/v1
  • Auth
    HTTP bearer

Path parameters

idstring required

The thread's id (thr_).

messageIdstring required

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

Request body

hiddenboolean required

True hides it, false shows it again.

Response

OK

idstring required
threadIdstring required
direction'in' | 'out' required
textstring required

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.

atstring date-time required
delivery'sending' | 'sent' | 'failed' nullable required

Where a reply stands. sending: on its way (a Threads, LinkedIn 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.

deliveryErrorstring nullable required

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

hiddenboolean required

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.

likedboolean nullable required

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

firstboolean required

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.

Changes

No recorded changes to this operation across all 1 revision of this API.