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

# Submit form response (client portal)

> Submit a completed form response. Updates response with answers, handles PDF uploads, completes associated tasks, launches project templates, maps form fields to project/client/plan fields, and sends notifications. Public access - no authentication required.



## OpenAPI

````yaml /api-reference/cx/swagger.json post /cp/form/{form}/response/{response}
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /cp/form/{form}/response/{response}:
    post:
      tags:
        - client-portal
      summary: Submit form response (client portal)
      description: >-
        Submit a completed form response. Updates response with answers, handles
        PDF uploads, completes associated tasks, launches project templates,
        maps form fields to project/client/plan fields, and sends notifications.
        Public access - no authentication required.
      parameters:
        - description: Form ID
          name: form
          in: path
          required: true
          schema:
            type: string
        - description: Response ID
          name: response
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
        description: >-
          Form submission data (team, responses required; client, task, launch,
          request, pdf optional)
        required: true
      responses:
        '200':
          description: Submission result with optional PDF upload URL
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_routes_cp_form_response.SubmitFormResponse
        '400':
          description: >-
            Bad request - invalid form ID, response ID, team ID, client ID, task
            ID, launch ID, or request body
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '403':
          description: >-
            The launch's trigger does not name this form, or a client request
            names a client its response was not opened for
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
components:
  schemas:
    pkg_routes_cp_form_response.SubmitFormResponse:
      type: object
      properties:
        ok:
          type: boolean
        upload_url:
          type: string

````

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