rizamodocs
Inbox

Mark a post's comments done

POST
/inbox/posts/{id}/done

Every comment thread on the post that is open or unread, and whose newest message is no later than before, becomes done and read, as Update a thread would one by one. A thread with something newer stays as it is, and a comment that arrives later opens its thread again.

Authorization

apiKey
headerAuthorizationBearer <token>

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

Path Parameters

id*string

The post on the network's id (npost_).

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
before*string

The newest message you read on the post: the latest lastMessageAt among the threads you listed. Threads with anything newer stay open.

Formatdate-time

Response Body

OK

application/json
  1. response
threadIds*array<string>

The threads this marked done or read. Empty when there was nothing left to change.

Example Request
curl -X POST 'https://api.rizamo.com/v1/inbox/posts/npost_01m4fkyer0em9939e5rz4f89v7/done' \  -H 'Idempotency-Key: 4b9e7c1a-2f3d-4e8a-9c6b-1d2e3f4a5b6c' \  -H 'Content-Type: application/json' \  -d '{  "before": "2026-11-06T10:14:00Z"}'
Example Response
{  "threadIds": [    "thr_01m4bvs7w0fmf9g0mrdy7j6bc5",    "thr_01m4ckt980em09vyrhvr9tf4am"  ]}