List the workspace's threads, newest first by default.
sort=last_activity_at orders them by their latest message, sent or received, instead: the
inbox’s order. A thread moves when a message arrives, so it can move between pages while
they are read.
/v1/threadsAuthorizationBearer token · headerrequiredAn API key (nb_live_…, nb_test_…), a workspace token (nbs_…) or a CLI token (nbc_…).
limitinteger<int64>Threads per page, 1 to 100 (default 20).
cursorstringThe next_cursor of the previous page.
orderstringdesc (default) or asc.
sortstringid (default, the creation order) or last_activity_at (the latest message, sent or received); ties are ordered by id.
includestringtotal_count adds an exact count up to 10,000.
person_idId_PersonThreads with this person.
connection_idId_ConnectionThreads of this connection's identities.
statusstringopen, snoozed or archived (a snooze that ended is open).
classificationstringThreads with an inbound message of this classification.
A page of threads.
dataobject[]requiredAt most limit rows, 100 at most.
Show propertiesHide properties
objectcampaign_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>requiredmetaMetarequiredThe page metadata.
Show propertiesHide properties
has_morebooleanrequirednext_cursorstring | nulltotal_countinteger<int64> | nullWith ?include=total_count: exact up to 10,000.
total_count_cappedboolean | nullWith ?include=total_count: true when the count stopped at 10,000.
The cursor is not valid for this 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: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.
A parameter is invalid.
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.