Skip to main content

Get status for every folder

GET 

/api/accounts/:accountId/folders/status

Returns just the message and unread counts (path, messages, unseen) for every folder, a lighter response than the folder list for refreshing badges.

It covers the same folders as GET /api/accounts/{accountId}/folders and runs IMAP STATUS on each without selecting it, so no flags change. A folder whose STATUS fails is reported with zero counts, not as an error.

Request​

Responses​

One status entry per folder.