Get Started
Usage API
More information

POST api/2.0/calendar/importIcs This function requires authentication

Description

Imports the events from the iCal string to the calendar with the ID specified in the request.

Parameters
Name Description Type Example
calendarId
sent in body
Calendar ID number 1234
iCalString
sent in body
The iCal string with the events to be imported string some text
Example
POST api/2.0/calendar/importics
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "calendarId": 1234,
  "iCalString": "some text"
}
Returns

The number of imported events