Get Started
Usage API
More information

GET api/2.0/settings This function requires authentication

Description

Returns the list of all available portal settings with the current values for each one

Parameters

This method doesn't have any parameters.

Example
GET api/2.0/settings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Settings

Example Response

application/json

{
  "status": 0,
  "response": {
    "timezone": "UTC",
    "trustedDomains": [
      "mydomain.com"
    ],
    "trustedDomainsType": 0,
    "culture": "en-US",
    "utcOffset": "-08:30:00",
    "utcHoursOffset": -8.5
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <timezone>UTC</timezone>
    <trustedDomains>mydomain.com</trustedDomains>
    <trustedDomainsType>0</trustedDomainsType>
    <culture>en-US</culture>
    <utcOffset>-08:30:00</utcOffset>
    <utcHoursOffset>-8.5</utcHoursOffset>
  </response>
</result>