{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oxvo-com/json-schema/oxvo-com-inbox-update-payload-schema.json",
  "title": "inbox_update_payload",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oxvo-com-openapi.json#/components/schemas/inbox_update_payload",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the inbox"
    },
    "avatar": {
      "type": "string",
      "format": "binary",
      "description": "Image file for avatar"
    },
    "greeting_enabled": {
      "type": "boolean",
      "description": "Enable greeting message"
    },
    "greeting_message": {
      "type": "string",
      "description": "Greeting message to be displayed on the widget"
    },
    "enable_email_collect": {
      "type": "boolean",
      "description": "Enable email collection"
    },
    "csat_survey_enabled": {
      "type": "boolean",
      "description": "Enable CSAT survey"
    },
    "enable_auto_assignment": {
      "type": "boolean",
      "description": "Enable Auto Assignment"
    },
    "working_hours_enabled": {
      "type": "boolean",
      "description": "Enable working hours"
    },
    "out_of_office_message": {
      "type": "string",
      "description": "Out of office message to be displayed on the widget"
    },
    "timezone": {
      "type": "string",
      "description": "Timezone of the inbox"
    },
    "allow_messages_after_resolved": {
      "type": "boolean",
      "description": "Allow messages after conversation is resolved"
    },
    "lock_to_single_conversation": {
      "type": "boolean",
      "description": "Lock to single conversation"
    },
    "portal_id": {
      "type": "integer",
      "description": "Id of the help center portal to attach to the inbox"
    },
    "sender_name_type": {
      "type": "string",
      "description": "Sender name type for the inbox",
      "enum": [
        "friendly",
        "professional"
      ]
    },
    "business_name": {
      "type": "string",
      "description": "Business name for the inbox"
    },
    "channel": {
      "type": "object",
      "properties": {
        "website_url": {
          "type": "string",
          "description": "URL at which the widget will be loaded"
        },
        "welcome_title": {
          "type": "string",
          "description": "Welcome title to be displayed on the widget"
        },
        "welcome_tagline": {
          "type": "string",
          "description": "Welcome tagline to be displayed on the widget"
        },
        "messenger_color": {
          "type": "string",
          "description": "A Hex-color string used to customize the widget"
        }
      }
    }
  }
}