跳到主要内容

Get the user folders

GET /api/2.0/mail/userfolders

Returns a list of user folders with the IDs specified in the request.

Request body​

ids​

type: integer[]

List of folder IDs

parentId​

type: integer[]

Parent folder ID (root level is equal to 0)

Request example​

{
"ids": [
0
],
"parentId": [
0
]
}

Returns​

List of folders. A request that is not authenticated returns 401.

Response example​

[
{
"Id": 1234,
"ParentId": 1234,
"Name": "name",
"UnreadCount": 123,
"TotalCount": 123,
"UnreadChainCount": 123,
"TotalChainCount": 123,
"FolderCount": 123
}
]