Chat
Mark a thread as read.
Mark a thread as read. The request enforces thread membership and content visibility for the authenticated caller.
POST
/
api
/
v1
/
chat
/
threads
/
{threadId}
/
read
Mark a thread as read.
curl --request POST \
--url https://api.revoengine.com/api/v1/chat/threads/{threadId}/read \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/chat/threads/{threadId}/read', 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}/read"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)⌘I
Mark a thread as read.
curl --request POST \
--url https://api.revoengine.com/api/v1/chat/threads/{threadId}/read \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/chat/threads/{threadId}/read', 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}/read"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)
