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

# Get Form Submissions

> Retrieves submissions for a client form, optionally filtered to a specific client.

## Authentication
All requests require an `Authorization` header using Bearer token authentication:
`Authorization: Bearer <api_key>`



## OpenAPI

````yaml GET /api/v2/client-forms/{client_form_id}/submissions
openapi: 3.1.0
info:
  title: VoiceAIWrapper API
  description: >-
    REST API for managing campaigns, leads, clients, web widgets, and voice
    providers on VoiceAIWrapper.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.voiceaiwrapper.app
security:
  - bearerAuth: []
paths:
  /api/v2/client-forms/{client_form_id}/submissions:
    get:
      tags:
        - Client Forms
      summary: Get Form Submissions
      description: >-
        Retrieves submissions for a client form, optionally filtered to a
        specific client.


        ## Authentication

        All requests require an `Authorization` header using Bearer token
        authentication:

        `Authorization: Bearer <api_key>`
      operationId: getFormSubmissions
      parameters:
        - name: client_form_id
          in: path
          required: true
          description: 'Global ID of the client form. Required. '
          schema:
            type: string
            example: Q2xpZW50Rm9ybToxMjM=
        - name: client_id
          in: query
          required: false
          description: Global ID of the client to filter submissions by. Optional.
          schema:
            type: string
            example: Q2xpZW50OjEyMw==
      responses:
        '200':
          description: >-
            Submissions retrieved successfully. Returns an array of submission
            objects ordered by creation date descending.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  message:
                    type: string
                    example: Submissions retrieved successfully
                  data:
                    type: object
                    properties:
                      submissions:
                        type: array
                        items:
                          type: object
                          properties:
                            submission_id:
                              type: string
                            client_id:
                              type: string
                              nullable: true
                            form_id:
                              type: string
                            response_data:
                              type: object
                            is_test:
                              type: boolean
                            created_at:
                              type: string
                              format: date-time
                            updated_at:
                              type: string
                              format: date-time
        '400':
          description: >-
            Invalid request data. Common causes: missing client_form_id, invalid
            client_form_id format, or invalid client_id format.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWithList'
              example:
                message: Invalid client_form_id format
                errors:
                  - Invalid client_form_id
        '401':
          description: Authentication failed. Ensure the Bearer token is present and valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '404':
          description: >-
            Resource not found. The form, client, or submissions were not found
            for the given identifiers.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWithList'
              example:
                message: Submissions not found
                errors:
                  - >-
                    No submissions found for the given client_id and
                    client_form_id
        '500':
          description: Internal server error. Contact support if this persists.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
components:
  schemas:
    ErrorWithList:
      type: object
      properties:
        message:
          type: string
        errors:
          type: array
          items:
            type: string
    ErrorMessage:
      type: object
      properties:
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````