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

# Update Document



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#PANDA_DOC_UPDATE_DOCUMENT
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#PANDA_DOC_UPDATE_DOCUMENT:
    post:
      summary: Update Document
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: PANDA_DOC_UPDATE_DOCUMENT
                parameters:
                  type: object
                  properties:
                    documentId:
                      type: string
                      description: 'Document ID : Specify the ID of the Document to Update.'
                    tags:
                      type: string
                      description: |-
                        Tags : Mark your document with new tags (example: "[
                          "created_via_api",
                          "test_document"    
                        ]")
                    recipients:
                      type: object
                      description: >-
                        Recipients : Update already existing recipients using
                        Recipient ID from document details or add new recipients
                        to the document (example: "[
                          {
                            "id": "MiySpPNiyhhmFXnDDrrawC",
                            "email": "john.doe@gmail.com",
                            "first_name": "John",
                            "last_name": "Doe"
                          }
                        ]")
                      properties: {}
                    tokens:
                      type: object
                      description: |-
                        Tokens : Update tokens or add new ones (example: "[
                          {
                            "name": "Favorite.Pet",
                            "value": "New Panda"
                          }
                        ]")
                      properties: {}
                    fields:
                      type: object
                      description: |-
                        Fields : Update field values (example: "{
                          "Like": {
                            "value": false
                          },
                          "Date": {
                            "value": "2022-08-24T00:00:00.000Z"
                          }
                        }")
                      properties: {}
                    pricingTable:
                      type: object
                      description: >-
                        Pricing Table : Update or add metadata. See reference
                        (https://developers.pandadoc.com/reference/create-document-from-pandadoc-template#pricing-table) 
                        (example: "[
                          {
                            "name": "Pricing Table 1",
                            "sections": [
                              {
                                "title": "Sample Section",
                                "default": true
                              }
                            ]
                          }
                        ]")
                      properties: {}
                  required:
                    - documentId
                  x-integration: pandadoc
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````