API reference/Widgets
Create widget
Creates a new chat widget with a default support channel.
Authorization
AuthorizationRequiredBearer <token>API key as Bearer token: Authorization: Bearer sk_live_.... Use sk_live_ prefixed keys for production data and sk_test_ prefixed keys for sandbox/test data.
In: header
X-API-Key<token>API key via header: X-API-Key: sk_live_.... Use sk_live_ prefixed keys for production data and sk_test_ prefixed keys for sandbox/test data.
In: header
Request Body
application/jsonRequirednameRequiredstringprimaryColorstringOverridden by the workspace-level appearance setting when one is present.
accentColorstringOverridden by the workspace-level appearance setting when one is present.
welcomeMessagestringplaceholderTextstringpositionstringDefault:
"bottom-right"Value in: "bottom-right" | "bottom-left"showAgentPhotosbooleanDefault:
trueshowTypingIndicatorbooleanDefault:
truerequireEmailbooleanDefault:
falsecollectVisitorInfobooleanDefault:
truebusinessHoursobjectofflineMessagestringaccountIdstringLink widget to a CRM account
Format:
"uuid"aiAutoRespondbooleanEnable AI auto-responses. Defaults to company AI config.
Created widget