View and set configurations for clients' accounts

GET /clients/{id}/settings

Description

Retrieve a list of settings for a specified client.

Permissions

client.access

Resource URL

https://app.klipfolio.com/api/1.0/clients/{id}/settings

Parameters

None.

Example Request

GET https://app.klipfolio.com/api/1/clients/0123456789abcdef0123456789abcdef/settings

Example Response

{
  "meta": {
    "success": true,
    "status": 200
  },
  "data": {
    "settings": {
      "brand.parent.enabled": null,
      "datasource.blacklist": null,
      "dpn.env.date.language.tag": "fr-FR"
    }
  }
}

POST /clients/{id}/settings

Description

Sets the value of one or more company properties.

Permissions

client.access

Resource URL

https://app.klipfolio.com/api/1.0/clients/{id}/settings

Parameters

dpn.env.date.language.tag
List of possible locales supported by this tag:
ENGLISH = "en"
FRENCH = "fr"
GERMAN = "de"
ITALIAN = "it"
JAPANESE = "ja"
KOREAN = "ko"
CHINESE = "zh"
SIMPLIFIED_CHINESE = "zh-CN"
TRADITIONAL_CHINESE = "zh-TW"
FRANCE = "fr-FR"
GERMANY = "de-DE"
ITALY = "it-IT"
JAPAN = "ja-JP"
KOREA = "ko-KR"
CHINA = SIMPLIFIED_CHINESE
PRC = SIMPLIFIED_CHINESE
TAIWAN = TRADITIONAL_CHINESE
UK = "en-GB"
US = "en-US"
CANADA = "en-CA"
CANADA_FRENCH = "fr-CA"

Example Request

POST https://app.klipfolio.com/api/1/clients/0123456789abcdef0123456789abcdef/settings -d

Example Response

{
  "meta": {
    "success": true,
    "status": 200
  },
  "data": {}
}