Get a filtered, sorted, paged list of the notifications the current user sent, with how many recipients have read each one
GET/psac/api/v1/notifications/sent
Returns the direct messages the current user sent, each with how many recipients have read it and its first unread recipient (or its first recipient when all have read it). The full recipient list of one message comes from GET /v1/notifications/sent/{threadId}/recipients. Supports filters (read status, recipient, priority, date range), a text search on title or message, sorting and paging. readStatus=unread means not read by every recipient and readStatus=read means read by every recipient; a message whose recipients all deleted it appears only with readStatus=all. readStatus always refers to every recipient of the message, even when sentToUserId narrows the list to messages that include one person. fromDate and toDate accept either a plain date (yyyy-MM-dd), meaning that whole UTC day, or a full timestamp, meaning that exact instant (inclusive, converted to UTC; a value without an offset is read as UTC). Allowed sortBy values: status (share of recipients who read it), title, priority, date, readAt (priority sorts Low to Emergency); sortDirection is asc or desc, and the default is newest first. perPage is 1 to 100.
Request
Responses
- 400
- 401
Bad Request
Unauthorized