GET api/2.0/mail/folders
Returns a list of default folders.
This method doesn't have any parameters.
GET api/2.0/mail/folders
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": [
{
"id": 1,
"unread": 1,
"unread_messages": 1,
"total_count": 1,
"total_messages_count": 1,
"time_modified": "2020-10-01T17:04:32.0000000"
}
]
}
text/xml
<result>
<status>0</status>
<response>
<id>1</id>
<unread>1</unread>
<unread_messages>1</unread_messages>
<total_count>1</total_count>
<total_messages_count>1</total_messages_count>
<time_modified>2020-10-01T17:04:32.0000000</time_modified>
</response>
</result>