Update Thread

PATCH
https://reloop.sh/api/inbox/v1/threads/:id

Path Parameters

idstringRequired

Thread ID

Body Parameters

isReadboolean

Read/unread status of the thread

isStarredboolean

Starred/unstarred status of the thread

status"active""archived""closed"

Possible values: active | archived | closed

const response = await fetch("https://reloop.sh/api/inbox/v1/threads/{id}", {
  method: "PATCH",
  headers: {
    "Authorization": "Bearer re_123456789",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
  "isRead": true,
  "isStarred": true,
  "status": "status_value"
})
});

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?

Edit this page