The configuration includes self-hosted status, Crisp token, indexer configuration, SAML status, and dark theme status.
GET
/config
curl
curl -X GET "http://api.example.com/config" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
import requests
url = "http://api.example.com/config"
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
params = {}
payload = None
response = requests.get(
url,
headers=headers,
params=params,
json=payload
)
response.raise_for_status()
if response.content:
print(response.json())
curl \
--request GET 'http://api.example.com/config' \
--header "Authorization: $API_KEY"
Response examples (200)
{
"is_self_hosted": true,
"crisp_token": "abc123def456",
"dark_theme_by_default": false,
"indexer_configured": true,
"saml_enabled": false,
"saml_idp_name": "My Company SSO",
"default_locale": "en_US",
"default_timezone": "UTC",
"sentry": {
"dsn": "https://example@sentry.io/123456",
"sampleRate": 0.1
}
}