POST api/2.0/files/rooms/thirdparty/{id} This function requires authentication

Description

Creates a room in the "Rooms" section stored in a third-party storage.

Parameters
Name Description Type Example
id
sent in url
ID of the folder in the third-party storage in which the contents of the room will be stored string some text
Title
sent in body
Room name string some text
RoomType
sent in body
Room type FillingFormsRoom = 1, EditingRoom = 2, ReviewRoom = 3, ReadOnlyRoom = 4, CustomRoom = 5, PublicRoom = 6 5
Private
sent in body
Private room or not Bool value true
Share
sent in body
Collection of sharing parameters Collection of ASC.Files.Core.ApiModels.FileShareParamss
collection
Notify
sent in body
Notifies users about the shared room or not Bool value true
SharingMessage
sent in body
Message to send when notifying about the shared room string some text
Example
POST api/2.0/files/rooms/thirdparty/%22some+text%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Title": "some text",
  "RoomType": "5",
  "Private": true,
  "Notify": true,
  "SharingMessage": "some text"
}
Returns

Room information

Example Response
{
  "status": 0,
  "response": {
    "ParentId": 1234,
    "FilesCount": 1234,
    "FoldersCount": 1234,
    "New": 1234,
    "Mute": true,
    "Pinned": true,
    "Private": true
  }
}