Mark Thread Read
Path Parameters
idstringRequired
Thread ID
Body Parameters
isReadbooleanRequired
Whether to mark the thread as read
const response = await fetch("https://reloop.sh/api/inbox/v1/threads/{id}/read", {
method: "PATCH",
headers: {
"Authorization": "Bearer re_123456789",
"Content-Type": "application/json",
},
body: JSON.stringify({
"isRead": true
})
});
const data = await response.json();{
"success": true,
"id": "con_123456789",
"message": "Contact already exists",
"isRead": true,
"isStarred": true,
"status": "example_status"
}Was this page helpful?