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

# Get sales settings

> Returns how leads are converted to customers (`lead_convert_mode`) and how new leads are assigned to salespeople (`lead_assignment_mode`).



## OpenAPI

````yaml get /v1/settings/sales
openapi: 3.1.0
info:
  title: Flextell API
  version: 0.0.1
  description: >-
    Flextell REST API referansı. Kimlik doğrulama, scope ve istek kuralları için
    API sekmesindeki rehberlere bakın.
servers:
  - url: https://app.flextell.ai/api
    description: Üretim
security:
  - oauth2: []
  - bearer: []
paths:
  /v1/settings/sales:
    get:
      tags:
        - Settings
      summary: Get sales settings
      description: >-
        Returns how leads are converted to customers (`lead_convert_mode`) and
        how new leads are assigned to salespeople (`lead_assignment_mode`).
      operationId: settings.showSales
      parameters:
        - name: X-Tenant
          in: header
          required: true
          description: >-
            Tenant identifier. Send the Tenant ID in the `X-Tenant` header to
            scope API requests to a specific tenant.
          schema:
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: string
                  data:
                    anyOf:
                      - type: object
                        properties:
                          prefix:
                            type: string
                            const: sales
                          settings:
                            type: array
                            items: {}
                        required:
                          - prefix
                          - settings
                      - type: object
                        properties:
                          prefix:
                            type: string
                            const: sales
                          settings:
                            type: array
                            items: {}
                          options:
                            type: object
                            properties:
                              flexy_chat_model:
                                type: array
                                items:
                                  $ref: '#/components/schemas/AgentLlmOptionResource'
                            required:
                              - flexy_chat_model
                        required:
                          - prefix
                          - settings
                          - options
                required:
                  - success
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
components:
  schemas:
    AgentLlmOptionResource:
      type: object
      properties:
        value:
          type: string
          description: The model name to send as `llm_model`.
        label:
          type:
            - string
            - 'null'
      required:
        - value
        - label
      title: AgentLlmOptionResource
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://app.flextell.ai/oauth/authorize
          tokenUrl: https://app.flextell.ai/oauth/token
          scopes:
            '*': all
    bearer:
      type: http
      scheme: bearer

````

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