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

# Retrieve recent form submission

> Retrieve the most recent submissions for a specific form in a workspace.



## OpenAPI

````yaml get /ciq/recent-submission/v1
openapi: 3.0.1
info:
  title: CaptureIQ API
  description: >-
    CaptureIQ's REST API for managing forms and submissions. The API is
    currently in beta.
  version: 1.0.0
servers:
  - url: https://app.captureiq.ai
security: []
paths:
  /ciq/recent-submission/v1:
    get:
      description: Retrieve the most recent submissions for a specific form in a workspace.
      parameters:
        - name: workspaceId
          in: query
          required: true
          description: The ID of the workspace containing the form.
          schema:
            type: string
            example: 68aec99d31016ef98d09fae3
        - name: formId
          in: query
          required: true
          description: The ID of the form to retrieve submissions from.
          schema:
            type: string
            example: 8feddac1-6f57-4c83-96ad-5767af6d2a4f
      responses:
        '200':
          description: Returns an array of submission objects.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Submission'
              example:
                - question_1: John Doe
                  question_2: john.doe@example.com
                  question_3: This is my feedback
                - question_1: Jane Smith
                  question_2: jane.smith@example.com
                  question_3: Another submission
      security:
        - bearerAuth: []
components:
  schemas:
    Submission:
      type: object
      description: >-
        A submission object containing question-answer pairs. Keys = question
        IDs, values = answers.
      additionalProperties:
        type: string
      example:
        question_1: John Doe
        question_2: john.doe@example.com
        question_3: This is my feedback
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer authentication header of the form Bearer <token>.

````