Dashboard
APIUpdate Setting API - Change Bot Configuration | BotSubscription
api.botsubscription.com
GET/v1/endpoint
AuthenticationBearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Examples
curl --request GET \
  --url https://api.botsubscription.com/v1/endpoint \
  --header 'Authorization: Bearer sk_live_•••'

Update Setting - Change Bot Configuration via API

Change a single configuration value by specifying its key. This endpoint replaces the current value with your new value. Use it for targeted configuration changes without affecting other settings in your project.

PATCH/v2/projects/{project_id}/settings/{key}

Authorization

Bearer API KeyRequired

API key access: Unrestricted project API key required. Restricted keys cannot call this endpoint.

Project keys can change only supported settings. Notification-destination changes can return 403 BACKOFFICE_DESTINATION_PERMISSION_REQUIRED; unsupported AI-model selections can return 422 VALIDATION_ERROR. An unrestricted key does not bypass these setting-specific restrictions.

Path Parameters

project_idstringrequired

The unique identifier of the project.

keystringrequired

The setting key to update.

Request Body

valueanyrequired

The new value for the setting.

Last updated: