TRY NEW VERSION

POST api/2.0/files/templates This function requires authentication

Description

Adds files with the IDs specified in the request to the template list.

Parameters
Name Description Type Example
fileIds
sent in body
List of file IDs Collection of strings
collection
some text
Example
POST api/2.0/files/templates
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "fileIds": [
    "some text"
  ]
}
Returns

Bool value: true if the operation is successful