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

# documenso-templates

> Documenso Templates - manage templates, fields, and recipients

**Server path:** `/documenso-templates` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                                                        | Description                |
| --------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
| [`documenso_templates_field_create_template_field`](#documenso_templates_field_create_template_field)                       | Create template field      |
| [`documenso_templates_field_create_template_fields`](#documenso_templates_field_create_template_fields)                     | Create template fields     |
| [`documenso_templates_field_delete_template_field`](#documenso_templates_field_delete_template_field)                       | Delete template field      |
| [`documenso_templates_field_get_template_field`](#documenso_templates_field_get_template_field)                             | Get template field         |
| [`documenso_templates_field_update_template_field`](#documenso_templates_field_update_template_field)                       | Update template field      |
| [`documenso_templates_field_update_template_fields`](#documenso_templates_field_update_template_fields)                     | Update template fields     |
| [`documenso_templates_recipient_create_template_recipient`](#documenso_templates_recipient_create_template_recipient)       | Create template recipient  |
| [`documenso_templates_recipient_create_template_recipients`](#documenso_templates_recipient_create_template_recipients)     | Create template recipients |
| [`documenso_templates_recipient_delete_template_recipient`](#documenso_templates_recipient_delete_template_recipient)       | Delete template recipient  |
| [`documenso_templates_recipient_get_template_recipient`](#documenso_templates_recipient_get_template_recipient)             | Get template recipient     |
| [`documenso_templates_recipient_update_template_recipient`](#documenso_templates_recipient_update_template_recipient)       | Update template recipient  |
| [`documenso_templates_recipient_update_template_recipients`](#documenso_templates_recipient_update_template_recipients)     | Update template recipients |
| [`documenso_templates_template_create_document_from_template`](#documenso_templates_template_create_document_from_template) | Use template               |
| [`documenso_templates_template_create_template`](#documenso_templates_template_create_template)                             | Create template            |
| [`documenso_templates_template_create_template_direct_link`](#documenso_templates_template_create_template_direct_link)     | Create direct link         |
| [`documenso_templates_template_create_template_temporary`](#documenso_templates_template_create_template_temporary)         | Create template            |
| [`documenso_templates_template_delete_template`](#documenso_templates_template_delete_template)                             | Delete template            |
| [`documenso_templates_template_delete_template_direct_link`](#documenso_templates_template_delete_template_direct_link)     | Delete direct link         |
| [`documenso_templates_template_duplicate_template`](#documenso_templates_template_duplicate_template)                       | Duplicate template         |
| [`documenso_templates_template_find_templates`](#documenso_templates_template_find_templates)                               | Find templates             |
| [`documenso_templates_template_get_many`](#documenso_templates_template_get_many)                                           | Get multiple templates     |
| [`documenso_templates_template_get_template_by_id`](#documenso_templates_template_get_template_by_id)                       | Get template               |
| [`documenso_templates_template_toggle_template_direct_link`](#documenso_templates_template_toggle_template_direct_link)     | Toggle direct link         |
| [`documenso_templates_template_update_template`](#documenso_templates_template_update_template)                             | Update template            |

***

## documenso\_templates\_field\_create\_template\_field

Create template field

**Parameters:**

| Parameter    | Type   | Required | Default | Description     |
| ------------ | ------ | -------- | ------- | --------------- |
| `field`      | object | Yes      | —       | The field value |
| `templateId` | number | Yes      | —       | Template Id     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "field": {
        "description": "The field value"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "field",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_field\_create\_template\_fields

Create template fields

**Parameters:**

| Parameter    | Type   | Required | Default | Description      |
| ------------ | ------ | -------- | ------- | ---------------- |
| `fields`     | any\[] | Yes      | —       | The fields value |
| `templateId` | number | Yes      | —       | Template Id      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "fields": {
        "type": "array",
        "description": "The fields value"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "fields",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_field\_delete\_template\_field

Delete template field

**Parameters:**

| Parameter | Type   | Required | Default | Description |
| --------- | ------ | -------- | ------- | ----------- |
| `fieldId` | number | Yes      | —       | Field Id    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "fieldId": {
        "type": "number",
        "description": "Field Id"
      }
    },
    "required": [
      "PCID",
      "fieldId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_field\_get\_template\_field

Get template field

**Parameters:**

| Parameter | Type   | Required | Default | Description |
| --------- | ------ | -------- | ------- | ----------- |
| `fieldId` | number | Yes      | —       | Field Id    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "fieldId": {
        "type": "number",
        "description": "Field Id"
      }
    },
    "required": [
      "PCID",
      "fieldId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_field\_update\_template\_field

Update template field

**Parameters:**

| Parameter    | Type   | Required | Default | Description     |
| ------------ | ------ | -------- | ------- | --------------- |
| `field`      | object | Yes      | —       | The field value |
| `templateId` | number | Yes      | —       | Template Id     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "field": {
        "description": "The field value"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "field",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_field\_update\_template\_fields

Update template fields

**Parameters:**

| Parameter    | Type   | Required | Default | Description      |
| ------------ | ------ | -------- | ------- | ---------------- |
| `fields`     | any\[] | Yes      | —       | The fields value |
| `templateId` | number | Yes      | —       | Template Id      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "fields": {
        "type": "array",
        "description": "The fields value"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "fields",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_recipient\_create\_template\_recipient

Create template recipient

**Parameters:**

| Parameter    | Type   | Required | Default | Description         |
| ------------ | ------ | -------- | ------- | ------------------- |
| `recipient`  | object | Yes      | —       | The recipient value |
| `templateId` | number | Yes      | —       | Template Id         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "recipient": {
        "type": "object",
        "description": "The recipient value",
        "properties": {
          "email": {
            "type": "string",
            "description": "The email value"
          },
          "name": {
            "type": "string",
            "description": "The name value"
          },
          "role": {
            "type": "string",
            "description": "The role value",
            "enum": [
              "CC",
              "SIGNER",
              "VIEWER",
              "APPROVER",
              "ASSISTANT"
            ]
          },
          "signingOrder": {
            "type": "number",
            "description": "Signing Order"
          },
          "accessAuth": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "ACCOUNT",
                "TWO_FACTOR_AUTH"
              ]
            },
            "description": "Access Auth"
          },
          "actionAuth": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "ACCOUNT",
                "PASSKEY",
                "TWO_FACTOR_AUTH",
                "PASSWORD",
                "EXPLICIT_NONE"
              ]
            },
            "description": "Action Auth"
          }
        },
        "required": [
          "email",
          "name",
          "role"
        ]
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "recipient",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_recipient\_create\_template\_recipients

Create template recipients

**Parameters:**

| Parameter    | Type      | Required | Default | Description          |
| ------------ | --------- | -------- | ------- | -------------------- |
| `recipients` | object\[] | Yes      | —       | The recipients value |
| `templateId` | number    | Yes      | —       | Template Id          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "recipients": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "email": {
              "type": "string",
              "description": "The email value"
            },
            "name": {
              "type": "string",
              "description": "The name value"
            },
            "role": {
              "type": "string",
              "enum": [
                "CC",
                "SIGNER",
                "VIEWER",
                "APPROVER",
                "ASSISTANT"
              ],
              "description": "The role value"
            },
            "signingOrder": {
              "type": "number",
              "description": "Signing Order"
            },
            "accessAuth": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Access Auth"
            },
            "actionAuth": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Action Auth"
            }
          },
          "required": [
            "email",
            "name",
            "role"
          ]
        },
        "description": "The recipients value"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "recipients",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_recipient\_delete\_template\_recipient

Delete template recipient

**Parameters:**

| Parameter     | Type   | Required | Default | Description  |
| ------------- | ------ | -------- | ------- | ------------ |
| `recipientId` | number | Yes      | —       | Recipient Id |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "recipientId": {
        "type": "number",
        "description": "Recipient Id"
      }
    },
    "required": [
      "PCID",
      "recipientId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_recipient\_get\_template\_recipient

Get template recipient

**Parameters:**

| Parameter     | Type   | Required | Default | Description  |
| ------------- | ------ | -------- | ------- | ------------ |
| `recipientId` | number | Yes      | —       | Recipient Id |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "recipientId": {
        "type": "number",
        "description": "Recipient Id"
      }
    },
    "required": [
      "PCID",
      "recipientId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_recipient\_update\_template\_recipient

Update template recipient

**Parameters:**

| Parameter    | Type   | Required | Default | Description         |
| ------------ | ------ | -------- | ------- | ------------------- |
| `recipient`  | object | Yes      | —       | The recipient value |
| `templateId` | number | Yes      | —       | Template Id         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "recipient": {
        "type": "object",
        "description": "The recipient value",
        "properties": {
          "id": {
            "type": "number",
            "description": "The id value"
          },
          "email": {
            "type": "string",
            "description": "The email value"
          },
          "name": {
            "type": "string",
            "description": "The name value"
          },
          "role": {
            "type": "string",
            "description": "The role value",
            "enum": [
              "CC",
              "SIGNER",
              "VIEWER",
              "APPROVER",
              "ASSISTANT"
            ]
          },
          "signingOrder": {
            "type": "number",
            "description": "Signing Order"
          },
          "accessAuth": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "ACCOUNT",
                "TWO_FACTOR_AUTH"
              ]
            },
            "description": "Access Auth"
          },
          "actionAuth": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "ACCOUNT",
                "PASSKEY",
                "TWO_FACTOR_AUTH",
                "PASSWORD",
                "EXPLICIT_NONE"
              ]
            },
            "description": "Action Auth"
          }
        },
        "required": [
          "id"
        ]
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "recipient",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_recipient\_update\_template\_recipients

Update template recipients

**Parameters:**

| Parameter    | Type      | Required | Default | Description          |
| ------------ | --------- | -------- | ------- | -------------------- |
| `recipients` | object\[] | Yes      | —       | The recipients value |
| `templateId` | number    | Yes      | —       | Template Id          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "recipients": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "number",
              "description": "The id value"
            },
            "email": {
              "type": "string",
              "description": "The email value"
            },
            "name": {
              "type": "string",
              "description": "The name value"
            },
            "role": {
              "type": "string",
              "enum": [
                "CC",
                "SIGNER",
                "VIEWER",
                "APPROVER",
                "ASSISTANT"
              ],
              "description": "The role value"
            },
            "signingOrder": {
              "type": "number",
              "description": "Signing Order"
            },
            "accessAuth": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Access Auth"
            },
            "actionAuth": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Action Auth"
            }
          },
          "required": [
            "id"
          ]
        },
        "description": "The recipients value"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "recipients",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_create\_document\_from\_template

Use template

**Parameters:**

| Parameter              | Type      | Required | Default | Description             |
| ---------------------- | --------- | -------- | ------- | ----------------------- |
| `attachments`          | object\[] | No       | —       | The attachments value   |
| `customDocumentData`   | object\[] | No       | —       | Custom Document Data    |
| `customDocumentDataId` | string    | No       | —       | Custom Document Data Id |
| `distributeDocument`   | boolean   | No       | —       | Distribute Document     |
| `externalId`           | string    | No       | —       | External Id             |
| `folderId`             | string    | No       | —       | Folder Id               |
| `formValues`           | object    | No       | —       | Form Values             |
| `override`             | object    | No       | —       | The override value      |
| `prefillFields`        | any\[]    | No       | —       | Prefill Fields          |
| `recipients`           | object\[] | Yes      | —       | The recipients value    |
| `templateId`           | number    | Yes      | —       | Template Id             |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "attachments": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "label": {
              "type": "string",
              "description": "The label value"
            },
            "data": {
              "type": "string",
              "format": "uri",
              "description": "The data value"
            },
            "type": {
              "type": "string",
              "enum": [
                "link"
              ],
              "description": "The type value"
            }
          },
          "required": [
            "label",
            "data"
          ]
        },
        "description": "The attachments value"
      },
      "customDocumentData": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "documentDataId": {
              "type": "string",
              "description": "Document Data Id"
            },
            "envelopeItemId": {
              "type": "string",
              "description": "Envelope Item Id"
            }
          },
          "required": [
            "documentDataId",
            "envelopeItemId"
          ]
        },
        "description": "Custom Document Data"
      },
      "customDocumentDataId": {
        "type": "string",
        "description": "Custom Document Data Id"
      },
      "distributeDocument": {
        "type": "boolean",
        "description": "Distribute Document"
      },
      "externalId": {
        "type": "string",
        "description": "External Id"
      },
      "folderId": {
        "type": "string",
        "description": "Folder Id"
      },
      "formValues": {
        "type": "object",
        "description": "Form Values"
      },
      "override": {
        "type": "object",
        "description": "The override value",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title value"
          },
          "subject": {
            "type": "string",
            "description": "The subject value"
          },
          "message": {
            "type": "string",
            "description": "The message value"
          },
          "timezone": {
            "type": "string",
            "description": "Timezone identifier"
          },
          "dateFormat": {
            "type": "string",
            "description": "Date Format",
            "enum": [
              "yyyy-MM-dd hh:mm a",
              "yyyy-MM-dd",
              "dd/MM/yyyy",
              "MM/dd/yyyy",
              "yy-MM-dd",
              "MMMM dd, yyyy",
              "EEEE, MMMM dd, yyyy",
              "dd/MM/yyyy hh:mm a",
              "dd/MM/yyyy HH:mm",
              "MM/dd/yyyy hh:mm a",
              "MM/dd/yyyy HH:mm",
              "dd.MM.yyyy",
              "dd.MM.yyyy HH:mm",
              "yyyy-MM-dd HH:mm",
              "yy-MM-dd hh:mm a",
              "yy-MM-dd HH:mm",
              "yyyy-MM-dd HH:mm:ss",
              "MMMM dd, yyyy hh:mm a",
              "MMMM dd, yyyy HH:mm",
              "EEEE, MMMM dd, yyyy hh:mm a",
              "EEEE, MMMM dd, yyyy HH:mm",
              "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
            ]
          },
          "redirectUrl": {
            "type": "string",
            "description": "Redirect Url"
          },
          "distributionMethod": {
            "type": "string",
            "description": "Distribution Method",
            "enum": [
              "EMAIL",
              "NONE"
            ]
          },
          "emailSettings": {
            "type": "object",
            "description": "Email Settings"
          },
          "language": {
            "type": "string",
            "description": "The language value",
            "enum": [
              "de",
              "en",
              "fr",
              "es",
              "it",
              "nl",
              "pl",
              "pt-BR",
              "ja",
              "ko",
              "zh"
            ]
          },
          "typedSignatureEnabled": {
            "type": "boolean",
            "description": "Typed Signature Enabled"
          },
          "uploadSignatureEnabled": {
            "type": "boolean",
            "description": "Upload Signature Enabled"
          },
          "drawSignatureEnabled": {
            "type": "boolean",
            "description": "Draw Signature Enabled"
          },
          "allowDictateNextSigner": {
            "type": "boolean",
            "description": "Allow Dictate Next Signer"
          },
          "envelopeExpirationPeriod": {
            "description": "Envelope Expiration Period"
          }
        }
      },
      "prefillFields": {
        "type": "array",
        "description": "Prefill Fields"
      },
      "recipients": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "number",
              "description": "The id value"
            },
            "email": {
              "description": "The email value"
            },
            "name": {
              "type": "string",
              "description": "The name value"
            }
          },
          "required": [
            "id",
            "email"
          ]
        },
        "description": "The recipients value"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "recipients",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_create\_template

Create template

**Parameters:**

| Parameter | Type   | Required | Default | Description       |
| --------- | ------ | -------- | ------- | ----------------- |
| `file`    | object | Yes      | —       | The file value    |
| `payload` | object | Yes      | —       | The payload value |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "file": {
        "description": "The file value"
      },
      "payload": {
        "type": "object",
        "description": "The payload value",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title value"
          },
          "folderId": {
            "type": "string",
            "description": "Folder Id"
          },
          "externalId": {
            "type": "string",
            "description": "External Id"
          },
          "visibility": {
            "type": "string",
            "description": "The visibility value",
            "enum": [
              "EVERYONE",
              "MANAGER_AND_ABOVE",
              "ADMIN"
            ]
          },
          "globalAccessAuth": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "ACCOUNT",
                "TWO_FACTOR_AUTH"
              ]
            },
            "description": "Global Access Auth"
          },
          "globalActionAuth": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "ACCOUNT",
                "PASSKEY",
                "TWO_FACTOR_AUTH",
                "PASSWORD"
              ]
            },
            "description": "Global Action Auth"
          },
          "publicTitle": {
            "type": "string",
            "description": "Public Title"
          },
          "publicDescription": {
            "type": "string",
            "description": "Public Description"
          },
          "type": {
            "type": "string",
            "description": "The type value",
            "enum": [
              "PUBLIC",
              "PRIVATE",
              "ORGANISATION"
            ]
          },
          "meta": {
            "type": "object",
            "description": "The meta value"
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "The attachments value"
          }
        },
        "required": [
          "title"
        ]
      }
    },
    "required": [
      "PCID",
      "file",
      "payload"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_create\_template\_direct\_link

Create direct link

**Parameters:**

| Parameter           | Type   | Required | Default | Description         |
| ------------------- | ------ | -------- | ------- | ------------------- |
| `directRecipientId` | number | No       | —       | Direct Recipient Id |
| `templateId`        | number | Yes      | —       | Template Id         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "directRecipientId": {
        "type": "number",
        "description": "Direct Recipient Id"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_create\_template\_temporary

Create template

**Parameters:**

| Parameter           | Type      | Required | Default | Description           |             |
| ------------------- | --------- | -------- | ------- | --------------------- | ----------- |
| `attachments`       | object\[] | No       | —       | The attachments value |             |
| `externalId`        | string    | null     | No      | —                     | External Id |
| `folderId`          | string    | No       | —       | Folder Id             |             |
| `globalAccessAuth`  | string\[] | No       | —       | Global Access Auth    |             |
| `globalActionAuth`  | string\[] | No       | —       | Global Action Auth    |             |
| `meta`              | object    | No       | —       | The meta value        |             |
| `publicDescription` | string    | No       | —       | Public Description    |             |
| `publicTitle`       | string    | No       | —       | Public Title          |             |
| `title`             | string    | Yes      | —       | The title value       |             |
| `type`              | string    | No       | —       | The type value        |             |
| `visibility`        | string    | No       | —       | The visibility value  |             |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "attachments": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "label": {
              "type": "string",
              "description": "The label value"
            },
            "data": {
              "type": "string",
              "format": "uri",
              "description": "The data value"
            },
            "type": {
              "type": "string",
              "enum": [
                "link"
              ],
              "description": "The type value"
            }
          },
          "required": [
            "label",
            "data"
          ]
        },
        "description": "The attachments value"
      },
      "externalId": {
        "type": [
          "string",
          "null"
        ],
        "description": "External Id"
      },
      "folderId": {
        "type": "string",
        "description": "Folder Id"
      },
      "globalAccessAuth": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "ACCOUNT",
            "TWO_FACTOR_AUTH"
          ]
        },
        "description": "Global Access Auth"
      },
      "globalActionAuth": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "ACCOUNT",
            "PASSKEY",
            "TWO_FACTOR_AUTH",
            "PASSWORD"
          ]
        },
        "description": "Global Action Auth"
      },
      "meta": {
        "type": "object",
        "description": "The meta value",
        "properties": {
          "subject": {
            "type": "string",
            "description": "The subject value"
          },
          "message": {
            "type": "string",
            "description": "The message value"
          },
          "timezone": {
            "type": "string",
            "description": "Timezone identifier"
          },
          "dateFormat": {
            "type": "string",
            "description": "Date Format",
            "enum": [
              "yyyy-MM-dd hh:mm a",
              "yyyy-MM-dd",
              "dd/MM/yyyy",
              "MM/dd/yyyy",
              "yy-MM-dd",
              "MMMM dd, yyyy",
              "EEEE, MMMM dd, yyyy",
              "dd/MM/yyyy hh:mm a",
              "dd/MM/yyyy HH:mm",
              "MM/dd/yyyy hh:mm a",
              "MM/dd/yyyy HH:mm",
              "dd.MM.yyyy",
              "dd.MM.yyyy HH:mm",
              "yyyy-MM-dd HH:mm",
              "yy-MM-dd hh:mm a",
              "yy-MM-dd HH:mm",
              "yyyy-MM-dd HH:mm:ss",
              "MMMM dd, yyyy hh:mm a",
              "MMMM dd, yyyy HH:mm",
              "EEEE, MMMM dd, yyyy hh:mm a",
              "EEEE, MMMM dd, yyyy HH:mm",
              "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
            ]
          },
          "distributionMethod": {
            "type": "string",
            "description": "Distribution Method",
            "enum": [
              "EMAIL",
              "NONE"
            ]
          },
          "emailId": {
            "type": "string",
            "description": "Email Id"
          },
          "emailReplyTo": {
            "type": "string",
            "description": "Email Reply To"
          },
          "emailSettings": {
            "type": "object",
            "description": "Email Settings"
          },
          "redirectUrl": {
            "type": "string",
            "description": "Redirect Url"
          },
          "language": {
            "type": "string",
            "description": "The language value",
            "enum": [
              "de",
              "en",
              "fr",
              "es",
              "it",
              "nl",
              "pl",
              "pt-BR",
              "ja",
              "ko",
              "zh"
            ]
          },
          "typedSignatureEnabled": {
            "type": "boolean",
            "description": "Typed Signature Enabled"
          },
          "uploadSignatureEnabled": {
            "type": "boolean",
            "description": "Upload Signature Enabled"
          },
          "drawSignatureEnabled": {
            "type": "boolean",
            "description": "Draw Signature Enabled"
          },
          "signingOrder": {
            "type": "string",
            "description": "Signing Order",
            "enum": [
              "PARALLEL",
              "SEQUENTIAL"
            ]
          },
          "allowDictateNextSigner": {
            "type": "boolean",
            "description": "Allow Dictate Next Signer"
          }
        }
      },
      "publicDescription": {
        "type": "string",
        "description": "Public Description"
      },
      "publicTitle": {
        "type": "string",
        "description": "Public Title"
      },
      "title": {
        "type": "string",
        "description": "The title value"
      },
      "type": {
        "type": "string",
        "description": "The type value",
        "enum": [
          "PUBLIC",
          "PRIVATE",
          "ORGANISATION"
        ]
      },
      "visibility": {
        "type": "string",
        "description": "The visibility value",
        "enum": [
          "EVERYONE",
          "MANAGER_AND_ABOVE",
          "ADMIN"
        ]
      }
    },
    "required": [
      "PCID",
      "title"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_delete\_template

Delete template

**Parameters:**

| Parameter    | Type   | Required | Default | Description |
| ------------ | ------ | -------- | ------- | ----------- |
| `templateId` | number | Yes      | —       | Template Id |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_delete\_template\_direct\_link

Delete direct link

**Parameters:**

| Parameter    | Type   | Required | Default | Description |
| ------------ | ------ | -------- | ------- | ----------- |
| `templateId` | number | Yes      | —       | Template Id |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_duplicate\_template

Duplicate template

**Parameters:**

| Parameter    | Type   | Required | Default | Description |
| ------------ | ------ | -------- | ------- | ----------- |
| `templateId` | number | Yes      | —       | Template Id |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_find\_templates

Find templates

**Parameters:**

| Parameter  | Type   | Required | Default | Description                                  |
| ---------- | ------ | -------- | ------- | -------------------------------------------- |
| `query`    | string | No       | —       | The search query.                            |
| `page`     | number | No       | —       | The pagination page number, starts at 1.     |
| `perPage`  | number | No       | —       | The number of items per page.                |
| `type`     | string | No       | —       | Filter templates by type.                    |
| `folderId` | string | No       | —       | The ID of the folder to filter templates by. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "query": {
        "type": "string",
        "description": "The search query."
      },
      "page": {
        "type": "number",
        "description": "The pagination page number, starts at 1."
      },
      "perPage": {
        "type": "number",
        "description": "The number of items per page."
      },
      "type": {
        "type": "string",
        "description": "Filter templates by type.",
        "enum": [
          "PUBLIC",
          "PRIVATE",
          "ORGANISATION"
        ]
      },
      "folderId": {
        "type": "string",
        "description": "The ID of the folder to filter templates by."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_get\_many

Get multiple templates

**Parameters:**

| Parameter     | Type      | Required | Default | Description  |
| ------------- | --------- | -------- | ------- | ------------ |
| `templateIds` | number\[] | Yes      | —       | Template Ids |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "templateIds": {
        "type": "array",
        "items": {
          "type": "number"
        },
        "description": "Template Ids"
      }
    },
    "required": [
      "PCID",
      "templateIds"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_get\_template\_by\_id

Get template

**Parameters:**

| Parameter    | Type   | Required | Default | Description |
| ------------ | ------ | -------- | ------- | ----------- |
| `templateId` | number | Yes      | —       | Template Id |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_toggle\_template\_direct\_link

Toggle direct link

**Parameters:**

| Parameter    | Type    | Required | Default | Description       |
| ------------ | ------- | -------- | ------- | ----------------- |
| `enabled`    | boolean | Yes      | —       | The enabled value |
| `templateId` | number  | Yes      | —       | Template Id       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "enabled": {
        "type": "boolean",
        "description": "The enabled value"
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "enabled",
      "templateId"
    ]
  }
  ```
</Expandable>

***

## documenso\_templates\_template\_update\_template

Update template

**Parameters:**

| Parameter    | Type   | Required | Default | Description    |
| ------------ | ------ | -------- | ------- | -------------- |
| `data`       | object | No       | —       | The data value |
| `meta`       | object | No       | —       | The meta value |
| `templateId` | number | Yes      | —       | Template Id    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "data": {
        "type": "object",
        "description": "The data value",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title value"
          },
          "externalId": {
            "type": "string",
            "description": "External Id"
          },
          "visibility": {
            "type": "string",
            "description": "The visibility value",
            "enum": [
              "EVERYONE",
              "MANAGER_AND_ABOVE",
              "ADMIN"
            ]
          },
          "globalAccessAuth": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "ACCOUNT",
                "TWO_FACTOR_AUTH"
              ]
            },
            "description": "Global Access Auth"
          },
          "globalActionAuth": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "ACCOUNT",
                "PASSKEY",
                "TWO_FACTOR_AUTH",
                "PASSWORD"
              ]
            },
            "description": "Global Action Auth"
          },
          "publicTitle": {
            "type": "string",
            "description": "Public Title"
          },
          "publicDescription": {
            "type": "string",
            "description": "Public Description"
          },
          "type": {
            "type": "string",
            "description": "The type value",
            "enum": [
              "PUBLIC",
              "PRIVATE",
              "ORGANISATION"
            ]
          },
          "useLegacyFieldInsertion": {
            "type": "boolean",
            "description": "Use Legacy Field Insertion"
          },
          "folderId": {
            "type": "string",
            "description": "Folder Id"
          }
        }
      },
      "meta": {
        "type": "object",
        "description": "The meta value",
        "properties": {
          "subject": {
            "type": "string",
            "description": "The subject value"
          },
          "message": {
            "type": "string",
            "description": "The message value"
          },
          "timezone": {
            "type": "string",
            "description": "Timezone identifier"
          },
          "dateFormat": {
            "type": "string",
            "description": "Date Format",
            "enum": [
              "yyyy-MM-dd hh:mm a",
              "yyyy-MM-dd",
              "dd/MM/yyyy",
              "MM/dd/yyyy",
              "yy-MM-dd",
              "MMMM dd, yyyy",
              "EEEE, MMMM dd, yyyy",
              "dd/MM/yyyy hh:mm a",
              "dd/MM/yyyy HH:mm",
              "MM/dd/yyyy hh:mm a",
              "MM/dd/yyyy HH:mm",
              "dd.MM.yyyy",
              "dd.MM.yyyy HH:mm",
              "yyyy-MM-dd HH:mm",
              "yy-MM-dd hh:mm a",
              "yy-MM-dd HH:mm",
              "yyyy-MM-dd HH:mm:ss",
              "MMMM dd, yyyy hh:mm a",
              "MMMM dd, yyyy HH:mm",
              "EEEE, MMMM dd, yyyy hh:mm a",
              "EEEE, MMMM dd, yyyy HH:mm",
              "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
            ]
          },
          "distributionMethod": {
            "type": "string",
            "description": "Distribution Method",
            "enum": [
              "EMAIL",
              "NONE"
            ]
          },
          "emailId": {
            "type": "string",
            "description": "Email Id"
          },
          "emailReplyTo": {
            "type": "string",
            "description": "Email Reply To"
          },
          "emailSettings": {
            "type": "object",
            "description": "Email Settings"
          },
          "redirectUrl": {
            "type": "string",
            "description": "Redirect Url"
          },
          "language": {
            "type": "string",
            "description": "The language value",
            "enum": [
              "de",
              "en",
              "fr",
              "es",
              "it",
              "nl",
              "pl",
              "pt-BR",
              "ja",
              "ko",
              "zh"
            ]
          },
          "typedSignatureEnabled": {
            "type": "boolean",
            "description": "Typed Signature Enabled"
          },
          "uploadSignatureEnabled": {
            "type": "boolean",
            "description": "Upload Signature Enabled"
          },
          "drawSignatureEnabled": {
            "type": "boolean",
            "description": "Draw Signature Enabled"
          },
          "signingOrder": {
            "type": "string",
            "description": "Signing Order",
            "enum": [
              "PARALLEL",
              "SEQUENTIAL"
            ]
          },
          "allowDictateNextSigner": {
            "type": "boolean",
            "description": "Allow Dictate Next Signer"
          }
        }
      },
      "templateId": {
        "type": "number",
        "description": "Template Id"
      }
    },
    "required": [
      "PCID",
      "templateId"
    ]
  }
  ```
</Expandable>
