Retrieve a thread with its latest 50 messages, outbound and inbound, oldest first.
/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_…).
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>requiredNo 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:read.
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.