Get Started
Usage API
More information

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

Description

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

Parameters
Name Description Type Example
ids
sent in body
List of conversation IDs System.Collections.Generic.List`1[System.Int32]
learnSpamTrainer
sent in body
Sends messages to the spam training or not
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 conversation IDs