Get Started
Portal api methods
Help

PUT api/2.0/mail/conversations/restore This function requires authentication

Description

Restores all the conversations previously moved to specific folders to their original folders.

Parameters
Name Description Type Example
ids
sent in body
List of conversation ids for restore. System.Collections.Generic.List`1[System.Int32]
learnSpamTrainer
sent in body
send messages tp spam training
optional
Bool value true
Example
PUT api/2.0/mail/conversations/restore
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "ids": [
    1234
  ],
  "learnSpamTrainer": true
}
Returns

List of restored conversations ids