Mark message read or unread
PATCH {{baseUrl}}/chat/users/:userId/messages/:messageId/status
Marks a chat message as read or unread. For user-level apps, pass the me
value instead of the userId
parameter.
Note:
For an account-level OAuth app, this API can only be used on behalf of a user assigned to a role with the **Edit**
permission for Chat Messages.
Scopes: chat_message:write
, chat_message:write:admin
Rate Limit Label: Medium
Request Body
{"action"=>"read", "timestamp"=>"<integer>", "to_channel"=>"<string>", "to_contact"=>"<email>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |