Chat
Mark messages from the selected message onward as unread.
Mark messages from the selected message onward as unread. The request enforces thread membership and content visibility for the authenticated caller.
POST
/
api
/
v1
/
chat
/
threads
/
{threadId}
/
messages
/
{messageId}
/
unread
Mark messages from the selected message onward as unread.
curl --request POST \
--url https://api.revoengine.com/api/v1/chat/threads/{threadId}/messages/{messageId}/unread \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/chat/threads/{threadId}/messages/{messageId}/unread', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/chat/threads/{threadId}/messages/{messageId}/unread"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)⌘I
Mark messages from the selected message onward as unread.
curl --request POST \
--url https://api.revoengine.com/api/v1/chat/threads/{threadId}/messages/{messageId}/unread \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/chat/threads/{threadId}/messages/{messageId}/unread', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/chat/threads/{threadId}/messages/{messageId}/unread"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)
