Skip to main content
PUT
/
v1
/
sms
/
settings
Update the org's SMS settings (partial)
curl --request PUT \
  --url https://api-sandbox.featherhq.com/v1/sms/settings \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "allowed_countries": [
    "<string>"
  ],
  "max_message_length": 800
}
'
{
  "allowed_countries": [
    "<string>"
  ],
  "max_message_length": 123
}

Authorizations

x-api-key
string
header
required

Body

application/json

Partial update — only fields explicitly supplied are touched.

allowed_countries
string[] | null
Maximum array length: 300
max_message_length
integer | null
Required range: 1 <= x <= 1600

Response

Successful Response

Combined per-org SMS config.

allowed_countries is the country allowlist (ISO-3166 alpha-2 codes; empty list = no restriction). max_message_length caps each assistant turn's character count; brain replies above this are split into multiple messages, API sends above this are rejected.

allowed_countries
string[]
required
max_message_length
integer
required