> ## Documentation Index
> Fetch the complete documentation index at: https://productlane.mintlify.site/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update widget settings

> Update the widget's appearance and which sections it shows to customers. Requires the admin scope.



## OpenAPI

````yaml openapi-v2.json patch /settings/widget
openapi: 3.0.3
info:
  title: Productlane API
  description: Productlane API v2.
  version: 2.0.0
servers:
  - url: https://productlane.com/api/v2
security: []
paths:
  /settings/widget:
    patch:
      tags:
        - settings
      summary: Update widget settings
      description: >-
        Update the widget's appearance and which sections it shows to customers.
        Requires the admin scope.
      operationId: settings-updateWidget
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                enabled:
                  type: boolean
                branding_enabled:
                  type: boolean
                icon_visible:
                  type: boolean
                contact_avatars_enabled:
                  type: boolean
                custom_links_enabled:
                  type: boolean
                custom_links_heading:
                  type: string
                  maxLength: 255
                  nullable: true
                changelog_enabled:
                  type: boolean
                roadmap_enabled:
                  type: boolean
                support_enabled:
                  type: boolean
                help_center_enabled:
                  type: boolean
                ai_chat_enabled:
                  type: boolean
                live_chat_enabled:
                  type: boolean
                guest_chat_enabled:
                  type: boolean
                  description: >-
                    When false, only signed-in visitors can start a
                    conversation.
                feedback_enabled:
                  type: boolean
                whats_new_enabled:
                  type: boolean
              additionalProperties: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  enabled:
                    type: boolean
                  widget_key:
                    type: string
                  default_view:
                    type: string
                  icon_type:
                    type: string
                  icon_visible:
                    type: boolean
                  size:
                    type: string
                  branding_enabled:
                    type: boolean
                  custom_styling_enabled:
                    type: boolean
                  custom_links_enabled:
                    type: boolean
                  custom_links_heading:
                    type: string
                    nullable: true
                  contact_avatars_enabled:
                    type: boolean
                  identity_verification_enabled:
                    type: boolean
                  portal_auth_enabled:
                    type: boolean
                  guest_chat_enabled:
                    type: boolean
                  sections:
                    type: object
                    properties:
                      changelog:
                        type: boolean
                      roadmap:
                        type: boolean
                      support:
                        type: boolean
                      help_center:
                        type: boolean
                      ai_chat:
                        type: boolean
                      live_chat:
                        type: boolean
                      feedback:
                        type: boolean
                      whats_new:
                        type: boolean
                    required:
                      - changelog
                      - roadmap
                      - support
                      - help_center
                      - ai_chat
                      - live_chat
                      - feedback
                      - whats_new
                    additionalProperties: false
                  updated_at:
                    type: string
                required:
                  - enabled
                  - widget_key
                  - default_view
                  - icon_type
                  - icon_visible
                  - size
                  - branding_enabled
                  - custom_styling_enabled
                  - custom_links_enabled
                  - custom_links_heading
                  - contact_avatars_enabled
                  - identity_verification_enabled
                  - portal_auth_enabled
                  - guest_chat_enabled
                  - sections
                  - updated_at
                additionalProperties: false
        default:
          $ref: '#/components/responses/error'
      security:
        - Authorization: []
components:
  responses:
    error:
      description: Error response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              code:
                type: string
              issues:
                type: array
                items:
                  type: object
                  properties:
                    message:
                      type: string
                  required:
                    - message
                  additionalProperties: false
            required:
              - message
              - code
            additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.