PostZen
Inbox

Mark a conversation read

POST
/v1/inbox/conversations/{conversationId}/read

Moves the thread’s local read watermark to its newest synced message and returns how many incoming messages crossed from unread to read. On a Facebook Page thread PostZen also sends Messenger a seen receipt on a best-effort basis; whether it lands never changes the response. On Instagram nothing is sent to the platform. Reading messages never marks a thread read implicitly. Requires a read-write API key.

Authorization

bearerAuth
AuthorizationBearer <token>

PostZen API key.

In: header

Path Parameters

conversationId*string

The platform's own conversation (thread) id, as returned in id by the list and search endpoints — not a PostZen document id.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/inbox/conversations/string/read" \  -H "Content-Type: application/json" \  -d '{    "accountId": "k17d8s9f0a1b2c3d4e5f6g7h8i"  }'
{  "success": true,  "markedCount": 2}
{  "error": "Direct messages support Instagram and Facebook Page accounts only.",  "code": "platformUnsupported",  "platform": "tiktok"}
{  "error": "Unauthorized"}
{  "error": "Reconnect the account to grant PostZen access to its messages.",  "code": "platformCapabilityMissing",  "platform": "instagram"}
{  "error": "That conversation could not be found.",  "code": "conversationNotFound"}
{  "error": "This connection needs to be reauthorized before its messages can be read.",  "code": "connectionDead"}
{  "error": "rate_limited",  "retryAfter": 30}
{  "error": "Failed to create post"}