Update conversation status
Archive or activate a conversation. Requires accountId in request body.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Opaque conversation identifier, accepted verbatim from the list endpoint or from the conversationId on inbox webhooks. Format not to be assumed.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
{ "success": true, "data": { "id": "string", "accountId": "string", "status": "active", "platform": "string", "updatedAt": "2019-08-24T14:15:22Z" }}Get conversation
Retrieve details and metadata for a specific conversation. Requires accountId query parameter.
Mark a conversation as read
Marks all unread incoming messages in the conversation as read. For WhatsApp, this also sends read receipts (blue ticks) to the contact, EXCEPT on coexistence accounts (where the WhatsApp Business app on the customer's phone owns read state and we never override it). This is the explicit, human-driven counterpart to `GET .../messages`, which is side-effect-free and does NOT mark anything read. Call this when a user actually views the conversation.