MobiariDocs
Storefront APIEngagement

Get the chat widget settings

GET
/widget/{key}/bootstrap

Everything the chat widget needs to render before a conversation exists. Public; the channel's allowed origins apply.

Path Parameters

key*string

The chat channel's public key (data-key of the embed script)

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/widget/string/bootstrap"
{
  "avatar_url": "string",
  "bot_enabled": true,
  "bot_name": "string",
  "brand": {},
  "collect_contact": true,
  "color": "string",
  "greeting": "string",
  "launcher_text": "string",
  "offline_message": "string",
  "online": true,
  "position": "string",
  "privacy_url": "string",
  "require_contact": true,
  "starters": [
    "string"
  ],
  "store_name": "string",
  "subtitle": "string",
  "title": "string"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}