POST /webhooks/config-update
Receives a config update pushed from the dashboard and persists the change to the specified guild’s configuration. Authentication: API key (x-api-secret header) required.
Request body
The target Discord guild ID.
Dot-notated config path to update (for example,
ai.model or welcome.enabled).The new value to set at the specified path.
Response
On success, returns the updated top-level config section.The updated config section corresponding to the top-level key of the
path parameter.Example
Error responses
| Status | Cause |
|---|---|
400 | Missing guildId, path, or value; or the path points to a non-writable key |
401 | Missing x-api-secret header |
403 | Request used OAuth Bearer authentication instead of API key |
500 | Config write failed |