List starred messages
GET/api/accounts/:accountId/flagged
Returns the account's starred (\Flagged) messages from every folder, newest first, up to limit messages. Each entry is a message header tagged with folder and folderName, matching the shape used by search results.
Every non-hidden folder is searched, including Trash, and folders under Virtual and the All Mail folder are skipped. The response has messages and total, where total is the number of messages returned after applying the limit. With filter=unread, only starred messages without the \Seen flag are returned.
Request
Responses
- 200
- 401
- 404
Starred messages.
The session has no mailbox access token. code is mail_token_missing; sign in again.
The account does not exist or belongs to another user.