> ## 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.

# Update form response (client portal)

> Update form response data including responses, fields, responder, and PDF. Public access - no authentication required.



## OpenAPI

````yaml /api-reference/cx/swagger.json patch /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}:
    patch:
      tags:
        - client-portal
      summary: Update form response (client portal)
      description: >-
        Update form response data including responses, fields, responder, and
        PDF. 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 response update data (team required; responses, fields,
          responder, pdf optional)
        required: true
      responses:
        '200':
          description: Update result
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/pkg_routes_cp_form_response.UpdateFormResponseResponse
        '400':
          description: Bad request - invalid form ID, response ID, team ID, or request body
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
components:
  schemas:
    pkg_routes_cp_form_response.UpdateFormResponseResponse:
      type: object
      properties:
        ok:
          type: boolean

````

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