Change a thread's status (open, snooze or archive it) or mark it read.
/v1/threads/{id}AuthorizationBearer token · headerrequiredAn API key (nb_live_…, nb_test_…), a workspace token (nbs_…) or a CLI token (nbc_…).
idId_ThreadrequiredThe thread id (thr_…).
If-MatchstringThe version the change applies to, quoted as the ETag that carried it ("1790000000000000"), or *. A version that is no longer current answers 412 precondition_failed and changes nothing; without the header the change applies to whatever version is current.
Idempotency-KeystringA stable key for this logical request; reuse it when retrying.
application/jsonsnoozed_untilTimestamp | nullShow propertiesHide properties
string<date-time>nullstatusThreadStatus | nullShow propertiesHide properties
stringnullunreadboolean | nullfalse marks it read.
The thread.
campaign_idId_Campaign | nullShow propertiesHide properties
stringnullconnection_idId_Connectionrequiredcreated_atTimestamprequiredidId_Threadrequiredlast_activity_atTimestamprequiredlast_messageThreadMessage | nullShow propertiesHide properties
atTimestamprequiredWhen it was sent (or created, while it waits) or received.
classificationInboundClassification | nullShow propertiesHide properties
stringnulldirectionDirectionrequiredWhich way a thread's message went.
outboundinboundfromstring | nullidstringrequiredA message id (msg_…) for outbound mail, an inbound message id (inb_…) for inbound.
statestring | nullAn outbound message's state.
subjectstring | nulltextstring | nullThe start of its text, when it has one of its own.
tostring[]requiredThe addresses an outbound message went to; empty for inbound mail.
nullmessagesThreadMessages | nullShow propertiesHide properties
dataThreadMessage[]requiredOldest first.
Show propertiesHide properties
ThreadMessageatTimestamprequiredWhen it was sent (or created, while it waits) or received.
classificationInboundClassification | nullShow propertiesHide properties
InboundClassificationnulldirectionDirectionrequiredWhich way a thread's message went.
outboundinboundfromstring | nullidstringrequiredA message id (msg_…) for outbound mail, an inbound message id (inb_…) for inbound.
statestring | nullAn outbound message's state.
subjectstring | nulltextstring | nullThe start of its text, when it has one of its own.
tostring[]requiredThe addresses an outbound message went to; empty for inbound mail.
has_morebooleanrequiredOlder messages exist.
nullparticipantsstring[]requiredThe addresses taking part.
person_idId_Person | nullShow propertiesHide properties
stringnullsender_identity_idId_SenderIdentityrequiredsnoozed_untilTimestamp | nullShow propertiesHide properties
string<date-time>nullstatusThreadStatusrequiredA thread's status as shown: snoozed turns open once its time passes.
opensnoozedarchivedsubjectstring | nullunreadbooleanrequiredSomething arrived that nobody marked read.
updated_atTimestamprequiredversioninteger<int64>requiredThe body is not JSON, or If-Match is malformed (invalid_request).
codestringrequiredThe code from the closed registry; programs branch on it, never on the text. New codes may be added.
detailstringrequiredWhat went wrong, for a person; never an internal cause.
errorsFieldError[]With validation_failed only: every invalid field.
Show propertiesHide properties
FieldErrorcodestringrequiredWhat is wrong (required, range, length, format, invalid, …).
detailstringrequiredA safe, human-readable explanation.
pointerstringrequiredRFC 6901 pointer into the body, or ?name for a query parameter.
instancestringrequiredThe request's path.
request_idstringrequiredThe request's id, also in X-Request-Id: what support needs to find the request.
retry_afterinteger<int64> | nullWith 429 and 503: the seconds to wait, as in Retry-After.
statusinteger<int32>requiredThe HTTP status.
titlestringrequiredFixed per code.
typestringrequiredhttps://docs.norbelys.com/errors/<code>, a page that explains the code.
No valid credential.
codestringrequiredThe code from the closed registry; programs branch on it, never on the text. New codes may be added.
detailstringrequiredWhat went wrong, for a person; never an internal cause.
errorsFieldError[]With validation_failed only: every invalid field.
Show propertiesHide properties
FieldErrorcodestringrequiredWhat is wrong (required, range, length, format, invalid, …).
detailstringrequiredA safe, human-readable explanation.
pointerstringrequiredRFC 6901 pointer into the body, or ?name for a query parameter.
instancestringrequiredThe request's path.
request_idstringrequiredThe request's id, also in X-Request-Id: what support needs to find the request.
retry_afterinteger<int64> | nullWith 429 and 503: the seconds to wait, as in Retry-After.
statusinteger<int32>requiredThe HTTP status.
titlestringrequiredFixed per code.
typestringrequiredhttps://docs.norbelys.com/errors/<code>, a page that explains the code.
The credential lacks inbox:write.
codestringrequiredThe code from the closed registry; programs branch on it, never on the text. New codes may be added.
detailstringrequiredWhat went wrong, for a person; never an internal cause.
errorsFieldError[]With validation_failed only: every invalid field.
Show propertiesHide properties
FieldErrorcodestringrequiredWhat is wrong (required, range, length, format, invalid, …).
detailstringrequiredA safe, human-readable explanation.
pointerstringrequiredRFC 6901 pointer into the body, or ?name for a query parameter.
instancestringrequiredThe request's path.
request_idstringrequiredThe request's id, also in X-Request-Id: what support needs to find the request.
retry_afterinteger<int64> | nullWith 429 and 503: the seconds to wait, as in Retry-After.
statusinteger<int32>requiredThe HTTP status.
titlestringrequiredFixed per code.
typestringrequiredhttps://docs.norbelys.com/errors/<code>, a page that explains the code.
No such thread in this workspace.
codestringrequiredThe code from the closed registry; programs branch on it, never on the text. New codes may be added.
detailstringrequiredWhat went wrong, for a person; never an internal cause.
errorsFieldError[]With validation_failed only: every invalid field.
Show propertiesHide properties
FieldErrorcodestringrequiredWhat is wrong (required, range, length, format, invalid, …).
detailstringrequiredA safe, human-readable explanation.
pointerstringrequiredRFC 6901 pointer into the body, or ?name for a query parameter.
instancestringrequiredThe request's path.
request_idstringrequiredThe request's id, also in X-Request-Id: what support needs to find the request.
retry_afterinteger<int64> | nullWith 429 and 503: the seconds to wait, as in Retry-After.
statusinteger<int32>requiredThe HTTP status.
titlestringrequiredFixed per code.
typestringrequiredhttps://docs.norbelys.com/errors/<code>, a page that explains the code.
If-Match names a version that is no longer current (precondition_failed); nothing changed.
codestringrequiredThe code from the closed registry; programs branch on it, never on the text. New codes may be added.
detailstringrequiredWhat went wrong, for a person; never an internal cause.
errorsFieldError[]With validation_failed only: every invalid field.
Show propertiesHide properties
FieldErrorcodestringrequiredWhat is wrong (required, range, length, format, invalid, …).
detailstringrequiredA safe, human-readable explanation.
pointerstringrequiredRFC 6901 pointer into the body, or ?name for a query parameter.
instancestringrequiredThe request's path.
request_idstringrequiredThe request's id, also in X-Request-Id: what support needs to find the request.
retry_afterinteger<int64> | nullWith 429 and 503: the seconds to wait, as in Retry-After.
statusinteger<int32>requiredThe HTTP status.
titlestringrequiredFixed per code.
typestringrequiredhttps://docs.norbelys.com/errors/<code>, a page that explains the code.
The body is invalid: snoozed without a future snoozed_until, or snoozed_until without snoozed.
codestringrequiredThe code from the closed registry; programs branch on it, never on the text. New codes may be added.
detailstringrequiredWhat went wrong, for a person; never an internal cause.
errorsFieldError[]With validation_failed only: every invalid field.
Show propertiesHide properties
FieldErrorcodestringrequiredWhat is wrong (required, range, length, format, invalid, …).
detailstringrequiredA safe, human-readable explanation.
pointerstringrequiredRFC 6901 pointer into the body, or ?name for a query parameter.
instancestringrequiredThe request's path.
request_idstringrequiredThe request's id, also in X-Request-Id: what support needs to find the request.
retry_afterinteger<int64> | nullWith 429 and 503: the seconds to wait, as in Retry-After.
statusinteger<int32>requiredThe HTTP status.
titlestringrequiredFixed per code.
typestringrequiredhttps://docs.norbelys.com/errors/<code>, a page that explains the code.