List the team inbox threads
curl --request GET \ --url 'https://example.com/api/v1/notifications/threads?tab=activity&scope=all&module=tasks&sort=newest' \ --header 'Authorization: Bearer <token>'One page of the team inbox as the web shows it: one thread per task with its recent comments and events (oldest first, the five newest notifications), how many are unread, whether it is bookmarked, and the page’s unreadCount, moduleFilter and most frequent senders. A notification about anything but a task is a thread of its own. The query takes the web inbox’s own choices: tab (activity, bookmarks, archive, mentioned), the repeatable filter (unread, mentioned, assigned, assignedByMe), from (a member id), module, sort and cursor; unknown parameters return 400. Cursor-paginated: pass nextCursor as cursor for the next page; it is null on the last. A cursor this server did not issue opens the first page, as the web does; this is deliberate and differs from GET /notifications, which answers 400. The inbox is always the caller’s own. A thread about a task the caller no longer reaches carries a null taskId and task, and only the title and text of the notifications the caller was sent. Team members only: other members get 403.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Which tab to read: activity (not archived, the default), bookmarks, archive or mentioned.
Which tab to read: activity (not archived, the default), bookmarks, archive or mentioned.
Repeatable. Quick filters that narrow the page together: unread, mentioned, assigned (to me) and assignedByMe.
Repeatable. Quick filters that narrow the page together: unread, mentioned, assigned (to me) and assignedByMe.
Only the notifications this member caused: a member id, as in senders[].id.
Only the notifications this member caused: a member id, as in senders[].id.
Where the notifications came from: all (the default), projects (tasks and projects) or tickets (client tickets).
Where the notifications came from: all (the default), projects (tasks and projects) or tickets (client tickets).
Limits the call to one module, which follows from the notification type: tasks, projects, tickets, sales, time, compliance, orders, invoices, estimates, commissions, team, system.
Limits the call to one module, which follows from the notification type: tasks, projects, tickets, sales, time, compliance, orders, invoices, estimates, commissions, team, system.
Order by each thread’s latest notification: newest (the default) or oldest.
Order by each thread’s latest notification: newest (the default) or oldest.
Opaque token from nextCursor of the previous page. Omit for the first page. A token this server did not issue opens the first page.
Opaque token from nextCursor of the previous page. Omit for the first page. A token this server did not issue opens the first page.
Responses
Section titled “Responses”A page of the team inbox.
object
A page of the team inbox, one thread per task.
object
Pass as cursor for the next page; null on the last.
The people who notified the caller most in the last 30 days.
object
A member id, usable as from.
One card of the team inbox.
object
Notifications in the thread, all of them.
The thread’s recent notifications, oldest first; not all of notificationIds.
A comment on the thread’s task or an event the member was notified of, oldest first within a thread.
object
Who caused the event, when someone did. Present when kind is event.
A person an inbox item names.
object
A loadable URL of the person’s avatar, or null when there is none.
TEAM, CLIENT or AGENT.
First and last name; empty when the person has none.
Present when kind is event.
The comment, present when kind is comment.
object
An image attached to an inbox comment.
object
A signed URL that opens the file for a limited time.
A stable URL of an image preview.
A person an inbox item names.
object
A loadable URL of the person’s avatar, or null when there is none.
TEAM, CLIENT or AGENT.
First and last name; empty when the person has none.
Comment body as Markdown. Markdown rendering of the stored rich text: mentions appear as @Name links and embeds as plain links to their source URL. The stored HTML is returned alongside in the matching *Html field.
The stored sanitized HTML behind content.
One emoji reaction on an inbox comment.
object
Members who reacted with this emoji.
comment or event. A client that reads a value it does not know shows the item without a body.
In-app link target, when applicable. Present when kind is event.
Present when kind is event.
Notification type, one of the NotificationType values. Present when kind is event.
Stable identity of the thread: the id of its task, or of its notification when it has no task.
In-app link of the newest notification; null when the thread has a reachable task.
The thread’s newest notification ids, up to 100, for the write operations that take notification ids.
The task the thread is about. Null for a notification about anything else, and for a task the caller no longer reaches, which keeps only the text the caller was sent.
The task’s title, or the newest notification’s.
Unread notifications of the caller, in every module.
Example
{ "data": { "moduleFilter": { "module": "tasks", "options": [ { "module": "tasks" } ] } }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC