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

# Post apiv2publicfunnel submit



## OpenAPI

````yaml https://api.osiro.com/doc post /api/v2/public/funnel/{id}/submit
openapi: 3.0.0
info:
  title: osiro API
  version: 2.0.0
servers: []
security: []
tags:
  - name: Funnel
    description: Public funnel rendering, submission, MFA, and analytics.
  - name: Training
    description: Org-scoped sales-training catalogs, sessions, and call records.
  - name: Attribution
    description: Cross-domain PostHog identity handoff for the marketing site.
paths:
  /api/v2/public/funnel/{id}/submit:
    post:
      tags:
        - Funnel
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: id
          in: path
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FunnelSubmitBody'
      responses:
        '200':
          description: Lead updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FunnelSubmitResponse'
        '201':
          description: Lead created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FunnelSubmitResponse'
        '400':
          description: Validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FunnelSubmitErrorWithData'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Funnel or schema missing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FunnelSubmitErrorWithData'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FunnelSubmitErrorWithData'
components:
  schemas:
    FunnelSubmitBody:
      type: object
      properties:
        lead_id:
          type: string
        update_token:
          type: string
          minLength: 1
        data:
          type: object
          additionalProperties:
            nullable: true
        page_url:
          type: string
          format: uri
        webcomponent_args:
          type: object
          additionalProperties:
            type: string
        cookie_consent:
          anyOf:
            - type: object
              properties:
                cmp:
                  type: string
                  enum:
                    - usercentrics
                controllerId:
                  type: string
                  maxLength: 128
                status:
                  type: string
                  enum:
                    - ALL_ACCEPTED
                    - ALL_DENIED
                    - SOME_ACCEPTED
                    - SOME_DENIED
                type:
                  type: string
                  maxLength: 64
                language:
                  type: string
                  maxLength: 16
                setting:
                  type: object
                  properties:
                    id:
                      type: string
                      maxLength: 128
                    type:
                      type: string
                      maxLength: 64
                    version:
                      type: string
                      maxLength: 64
                createdAt:
                  type: integer
                updatedAt:
                  type: integer
                updatedBy:
                  type: string
                  maxLength: 64
                hash:
                  type: string
                  maxLength: 256
                services:
                  type: object
                  additionalProperties:
                    type: object
                    properties:
                      name:
                        type: string
                        maxLength: 256
                      given:
                        type: boolean
                      type:
                        type: string
                        enum:
                          - EXPLICIT
                          - IMPLICIT
                      gcm:
                        type: object
                        properties:
                          analyticsStorage:
                            type: boolean
                          adStorage:
                            type: boolean
                    required:
                      - given
              required:
                - cmp
            - type: object
              properties:
                categories:
                  type: array
                  items:
                    type: string
                    maxLength: 64
                  maxItems: 20
                services:
                  type: object
                  additionalProperties:
                    type: array
                    items:
                      type: string
                      maxLength: 64
                    maxItems: 50
                revision:
                  type: integer
                consentId:
                  type: string
                  maxLength: 64
                consentTimestamp:
                  type: string
                  maxLength: 64
                lastConsentTimestamp:
                  type: string
                  maxLength: 64
                cmp:
                  type: string
                  enum:
                    - osiro
              required:
                - categories
            - nullable: true
        funnel_version_id:
          type: string
          format: uuid
        step_id:
          type: string
          maxLength: 64
    FunnelSubmitResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            id:
              type: string
            update_token:
              type: string
          required:
            - id
            - update_token
      required:
        - data
    FunnelSubmitErrorWithData:
      type: object
      properties:
        data:
          type: object
          properties:
            id:
              type: string
            update_token:
              type: string
          required:
            - id
            - update_token
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            validation_errors:
              nullable: true
          required:
            - code
            - message
      required:
        - error
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
      required:
        - error

````