Chatsv4
Mark chat as read
POST
/chats/{chatId}/readSends a read receipt. Blooio channels only.
Path parameters
chatIdRequiredstringUnique identifier of the chat, prefixed with chat_. Returned by the List chats endpoint.
Headers
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
Bearer
Returns
dataoptionalobject
dataoptionalobjectchat_idoptionalstringreadoptionalbooleanatoptionalintegerResponse codes
200Marked read
401Your API key is missing or invalid. Pass it as a bearer token.
404No chat was found with the provided `chatId`.
409The request conflicts with the current state of the chat (e.g. it already exists, the chat is closed, or the channel isn't active).
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X POST https://api.blooio.com/v4/chats/chat_a1b2c3d4/read \ -H "Authorization: Bearer bl_live_..."{ "data": { "chat_id": "chat_a1b2c3d4", "read": false, "at": 0 }}