Config

System configuration

Get current user-defined configuration values

GET /config

Only returns the values that have been stored by the user through the API

[
  {
    "key": "JWTSecret",
    "value": "OQekJ3DH4pRnWFl4wlN0hzhc5UIjdihEwFnwYLYUdXGXk+/f5JieT/1VLPUJnvALIGK014md41rUuarqYZscl2T5azHQmFhQmUKj8dEuoIELWB45wlkxDKcojCQi9Otk76itnmvKrbm/ZokDJxePNv2Edgc7/mLrTHG7l54w44c="
  },
  {
    "key": "WEBHOOK_FLOW_COMPONENT_ERROR",
    "value": "https://example.com/webhook"
  }
]

Create a configuration key/value pair

POST /config

Request Body

NameTypeDescription

key*

String

Configuration key

value*

Any

Configuration value

{
  "key": "myConfigKey",
  "value": "My Custom Value"
}

Removes a configuration entry

DELETE /config/:key

Path Parameters

NameTypeDescription

key*

String

The key of the configuration to be removed

{ "ok": true }

Last updated