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

# Submit Sales Lead

> Submit a sales lead from the landing page or dashboard.



## OpenAPI

````yaml https://api.getfloo.com/openapi.json post /v1/sales-leads
openapi: 3.1.0
info:
  title: floo API
  version: 0.1.0
servers:
  - url: https://api.getfloo.com
security: []
paths:
  /v1/sales-leads:
    post:
      tags:
        - sales-leads
      summary: Submit Sales Lead
      description: Submit a sales lead from the landing page or dashboard.
      operationId: sales_leads_submit_sales_lead
      parameters:
        - $ref: '#/components/parameters/X-Floo-Org-Id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitSalesLeadRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SalesLeadResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  parameters:
    X-Floo-Org-Id:
      name: X-Floo-Org-Id
      in: header
      required: false
      schema:
        type: string
        format: uuid
      description: Organization to act in; defaults to the one joined most recently.
  schemas:
    SubmitSalesLeadRequest:
      properties:
        source:
          $ref: '#/components/schemas/SalesLeadSource'
          default: landing
        intent:
          $ref: '#/components/schemas/SalesLeadIntent'
          default: enterprise_internal_tools
        name:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Name
        email:
          type: string
          format: email
          title: Email
        company:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Company
        phone:
          anyOf:
            - type: string
              maxLength: 64
            - type: 'null'
          title: Phone
        title:
          anyOf:
            - type: string
              maxLength: 255
            - type: 'null'
          title: Title
        team_size:
          anyOf:
            - type: string
              maxLength: 64
            - type: 'null'
          title: Team Size
        use_case:
          anyOf:
            - type: string
              maxLength: 3000
            - type: 'null'
          title: Use Case
        page_url:
          anyOf:
            - type: string
              maxLength: 2048
            - type: 'null'
          title: Page Url
      type: object
      required:
        - email
      title: SubmitSalesLeadRequest
      description: Request body for submitting a sales lead.
    SalesLeadResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        source:
          $ref: '#/components/schemas/SalesLeadSource'
        intent:
          $ref: '#/components/schemas/SalesLeadIntent'
        email:
          type: string
          title: Email
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - source
        - intent
        - email
        - created_at
      title: SalesLeadResponse
      description: Response for a submitted sales lead.
    ErrorResponse:
      properties:
        detail:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Body of every error response except request validation (422).
    SalesLeadSource:
      type: string
      enum:
        - landing
        - dashboard
      title: SalesLeadSource
      description: Where the sales lead came from.
    SalesLeadIntent:
      type: string
      enum:
        - enterprise_internal_tools
        - billing_enterprise
        - seat_limit
        - general
      title: SalesLeadIntent
      description: Reason the user asked to talk to sales.
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      additionalProperties: true
      type: object
      required:
        - code
        - message
      title: ErrorDetail
      description: Standard error envelope with operation-specific JSON context.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A `floo_` API key.

````

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