Skip to main content
PATCH
Inboxes are currently in private beta and only available to a limited number of users. The response shape might change before GA.Get early access if you’re interested in testing this feature.Once you have access, upgrade your Resend SDK to use the new methods:
At least one of read or folder is required. To change a thread’s labels, use Add Thread Labels, Set Thread Labels, or Remove Thread Label.

Path Parameters

Body Parameters

boolean
Marks every message in the thread read or unread.
string
Moves the thread to this folder. Every thread sits in exactly one folder within its inbox. sent is assigned automatically and cannot be set.
  • inbox: The default. The thread holds at least one received message.
  • archive: The thread was archived.
  • spam: The thread was marked as spam.
  • trash: The thread is scheduled for deletion in 30 days.

Response Fields

string
Always inbox_thread.
string
The ID of the thread.
string | null
The subject of the thread.
string
The folder the thread lives in after the update.
  • inbox: The default. The thread holds at least one received message.
  • archive: The thread was archived.
  • spam: The thread was marked as spam.
  • trash: The thread is scheduled for deletion in 30 days.
  • sent: Threads whose messages are all outbound.
array
The labels attached to the thread, each with an id, name, and color.
boolean
True only when every message in the thread is read.