Skip to main content

Get folder status

GET 

/api/accounts/:accountId/folders/:folder/status

Returns the total and unread message counts of one folder (path, messages, unseen). It uses IMAP STATUS, so the folder is not selected and no flags change.

Unlike the all-folders status call, a failing STATUS is an error here: a folder that does not exist returns 424.

Request​

Responses​

Counts.