Update a thread
Mark every message read or unread, or move it to inbox, archive, spam or trash (moving out of trash restores it). Labels have their own routes: POST, PUT and DELETE /inboxes/{inbox_id}/threads/{thread_id}/labels.
PATCH
/inboxes/{inbox_id}/threads/{thread_id}Autorisierung
AuthorizationBearer-Token · headererforderlichA BillionSend API key (bs_…).
Pfadparameter
inbox_idstringerforderlichThe inbox ID or its email address, such as support@example.com
thread_idstring<uuid>erforderlichThe thread ID
Request-Body
application/jsonreadbooleanMarks every message read or unread
folderstringsent is assigned, never chosen
Erlaubt:
inboxarchivespamtrashAntworten
200
Thread updated
objectstringerforderlichErlaubt:
inbox_threadidstring<uuid>erforderlichsubjectstring | nullerforderlichfolderstringerforderlichErlaubt:
inboxarchivespamsenttrashlabelsobject[]erforderlichEigenschaften anzeigenEigenschaften ausblenden
Array von
objectidstring<uuid>erforderlichnamestringerforderlichcolorstringerforderlichreadbooleanerforderlichquarantinedintegererforderlichBillionSend extension: held messages; 0 for inbox-scoped keys
401
Missing, malformed, unknown or revoked API key
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich404
Inbox or thread not found
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich422
Validation error
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumbererforderlichnamestringerforderlichmessagestringerforderlich