Widget bootstrap config (theme, labels, languages) for a tenant.
GET
/v1/public/widget-config
const url = 'https://example.com/v1/public/widget-config';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/public/widget-configParameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”key
Responses
Section titled “Responses”Media typeapplication/json
object
account
required
Signed-in visitor support: whether accounts are enabled, and the sign-in URL for guests
object
clientTools
required
Tools the host page may serve (name, description, whether the visitor approves calls first)
Array<object>
object
components
required
Tenant overrides of the built-in component templates
object
languages
required
Languages the tenant supports (first one is the default)
Array<string>
name
required
string
theme
required
object
Example generated
{ "account": {}, "clientTools": [ {} ], "components": {}, "languages": [ "example" ], "name": "example", "theme": {}}