Skip to main content
PUT
/
public-api
/
settings
Update tenant settings
curl --request PUT \
  --url https://api.neoagent.io/public-api/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "end_business_hours": 123,
  "human_friendly_client_name": "<string>",
  "referral_code": "<string>",
  "sleep_before_callback_processing_seconds": 123,
  "start_business_hours": 123,
  "timezone": "<string>"
}
'
{
  "data": {
    "end_business_hours": 123,
    "human_friendly_client_name": "<string>",
    "referral_code": "<string>",
    "sleep_before_callback_processing_seconds": 123,
    "start_business_hours": 123,
    "timezone": "<string>"
  },
  "meta": {
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "timings_ms": {},
    "pagination": {
      "has_more": true,
      "next_cursor": "<string>"
    },
    "warnings": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user).

Body

application/json
end_business_hours
integer | null
human_friendly_client_name
string | null
referral_code
string | null
sleep_before_callback_processing_seconds
integer | null
start_business_hours
integer | null
timezone
string | null

Response

Success.

data
PublicSettings · object
required
meta
object
required