---
updatedAt: 2026-04-29T12:20:04.000Z
agentTools:
  projectIndex: https://developers.signwell.com/llms.txt
---

# Update Template

Updates an existing template.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "SignWell Developer API",
    "description": "API for creating, managing, and tracking electronic signature workflows.",
    "version": "v1",
    "termsOfService": "https://www.signwell.com/terms/",
    "contact": {
      "email": "support@signwell.com"
    }
  },
  "tags": [
    {
      "name": "Template",
      "description": "Create and manage reusable document templates."
    }
  ],
  "paths": {
    "/api/v1/document_templates/{id}": {
      "put": {
        "summary": "Update Template",
        "description": "Updates an existing template.",
        "tags": [
          "Template"
        ],
        "security": [
          {
            "api_key": []
          }
        ],
        "operationId": "updateTemplate",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "$ref": "#/components/schemas/TemplateId"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "ok",
            "content": {
              "application/json": {
                "example": {
                  "id": "100cc5b2-0918-406d-98da-ee92facb01d8",
                  "archived": false,
                  "created_at": "2026-09-29T15:21:57Z",
                  "embedded_edit_url": "https://www.signwell.com/edit/template/e08ea73b-b870-4041-be83-5f5c60307783/",
                  "language": "en",
                  "name": "Android 20",
                  "requester_email_address": "jellybean_king_99@von.test",
                  "status": "Available",
                  "template_link": "https://www.signwell.com/new_doc/UTK8gJ3VFHZXJeQg/",
                  "updated_at": "2026-09-29T15:21:58Z",
                  "allow_decline": true,
                  "allow_reassign": true,
                  "api_application_id": "c3a9a952-a32a-4dc1-8595-ca9218202e1e",
                  "decline_redirect_url": "http://zemlak.example/german",
                  "expires_in": 1,
                  "redirect_url": "http://bartoletti.example/leeanna_hahn",
                  "reminders": true,
                  "metadata": {
                    "some": "metadata"
                  },
                  "apply_signing_order": true,
                  "message": "Quia veniam ea voluptate.",
                  "subject": "Beatae quas voluptatem dolore.",
                  "fields": [
                    [
                      {
                        "api_id": "Signature_67",
                        "height": "32.0",
                        "page": 1,
                        "required": true,
                        "type": "signature",
                        "value": null,
                        "width": "112.0",
                        "x": 1.1,
                        "y": 1.1,
                        "placeholder_name": "Ultra Thundra The Hunter 13"
                      },
                      {
                        "api_id": "Signature_68",
                        "height": "32.0",
                        "page": 2,
                        "required": true,
                        "type": "signature",
                        "value": null,
                        "width": "112.0",
                        "x": 1.1,
                        "y": 1.1,
                        "placeholder_name": "Vulcan 14"
                      }
                    ]
                  ],
                  "files": [
                    {
                      "name": "molestiae.xls",
                      "pages_number": 2
                    }
                  ],
                  "copied_placeholders": [
                    {
                      "id": "3",
                      "name": "Blink Knight 15",
                      "subject": null,
                      "message": null
                    },
                    {
                      "id": "4",
                      "name": "Electro 16",
                      "subject": null,
                      "message": null,
                      "preassigned_recipient_name": "Cindy Hyatt",
                      "preassigned_recipient_email": "damon.christiansen@greenfelder-smith.test"
                    }
                  ],
                  "placeholders": [
                    {
                      "id": "1",
                      "name": "Ultra Thundra The Hunter 13",
                      "subject": null,
                      "message": null,
                      "preassigned_recipient_name": "Jaunita Kassulke",
                      "preassigned_recipient_email": "leif@auer-windler.example",
                      "signing_order": 1,
                      "passcode_delivery": {
                        "enabled": false,
                        "methods": null,
                        "expire_after_access": false
                      },
                      "attachment_requests": [
                        {
                          "name": "award-figure/vel.tiff",
                          "required": true,
                          "url": "https://www.signwell.com/document_attachments/Rrja8Qg0qOTkyydkAn7Rt72AZQNn/?access=5ff3142e-d1bd-473e-b623-f14ff84279b0"
                        }
                      ]
                    },
                    {
                      "id": "2",
                      "name": "Vulcan 14",
                      "subject": null,
                      "message": null,
                      "signing_order": 2,
                      "passcode_delivery": {
                        "enabled": false,
                        "methods": null,
                        "expire_after_access": false
                      },
                      "attachment_requests": []
                    }
                  ],
                  "checkbox_groups": [
                    {
                      "id": "29e9a904-a4a3-4fef-8721-39d6c15a8c0b",
                      "group_name": null,
                      "recipient_id": null,
                      "checkbox_ids": [
                        "CheckBox_69"
                      ],
                      "validation": null,
                      "required": false
                    }
                  ],
                  "conditional_rules": []
                },
                "schema": {
                  "$ref": "#/components/schemas/DocumentTemplateResponse"
                }
              }
            }
          },
          "400": {
            "description": "bad request",
            "content": {
              "application/json": {
                "example": {
                  "errors": {
                    "message": "The request contains invalid key values.",
                    "invalid_keys": [
                      "name"
                    ]
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "unprocessable entity",
            "content": {
              "application/json": {
                "example": {
                  "errors": {
                    "decline_redirect_url": [
                      "is not a valid URL"
                    ],
                    "redirect_url": [
                      "is not a valid URL"
                    ],
                    "expires_in": [
                      "must be less than or equal to 365"
                    ],
                    "metadata": [
                      "The key/value pairs must not exceed 50",
                      "Check the following keys: [qgtxtpsnyxjwzvbzhnmrjziscxsmgcugpqanuygve], length needs to be less than 40 characters",
                      "Check the value of the following keys: [ke50], length needs to be less than 500 characters and must be a string"
                    ],
                    "api_application_id": [
                      "The provided API application id is invalid"
                    ],
                    "message": [
                      "is too long (maximum is 4000 characters)"
                    ]
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ValidationErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "rate limit exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RateLimitErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentTemplateUpdateRequest"
              }
            }
          },
          "required": true
        },
        "x-readme": {
          "code-samples": [
            {
              "language": "ruby",
              "name": "Ruby SDK",
              "install": "gem install signwell_sdk",
              "code": "require 'signwell_sdk'\n\nSignWell.configure do |config|\n  config.api_key['X-Api-Key'] = ENV['SIGNWELL_API_KEY']\nend\n\napi = SignWell::Resources::TemplateApi.new\n\nrequest = SignWell::Models::DocumentTemplateUpdateRequest.new(\n  name: 'Updated Contract Template',\n  subject: 'Updated: Please sign this contract'\n)\n\ntemplate = api.update_template('template_id', request)\nputs template.name"
            }
          ]
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "X-Api-Key",
        "in": "header"
      }
    },
    "schemas": {
      "FieldType": {
        "type": "string",
        "enum": [
          "initials",
          "signature",
          "checkbox",
          "date",
          "select",
          "text",
          "dropdown",
          "autofill_company",
          "autofill_email",
          "autofill_first_name",
          "autofill_last_name",
          "autofill_name",
          "autofill_phone",
          "autofill_title",
          "autofill_date_signed"
        ],
        "description": "Type of signing field"
      },
      "TextValidation": {
        "type": "string",
        "enum": [
          "no_text_validation",
          "numbers",
          "letters",
          "email_address",
          "us_phone_number",
          "us_zip_code",
          "us_ssn",
          "us_age",
          "alphanumeric",
          "us_bank_routing_number",
          "us_bank_account_number",
          "custom"
        ],
        "description": "Validation rule for text fields"
      },
      "ValidationRegex": {
        "type": "string",
        "description": "Text fields with custom validation only: the regex pattern used to validate field values. Required when validation is set to custom."
      },
      "ValidationRegexErrorMessage": {
        "type": "string",
        "description": "Text fields with custom validation only: the error message shown to the recipient when their input doesn't match the regex pattern. Required when validation is set to custom."
      },
      "DateFormat": {
        "type": "string",
        "enum": [
          "MM/DD/YYYY",
          "DD/MM/YYYY",
          "YYYY/MM/DD",
          "Month DD, YYYY",
          "MM/DD/YYYY hh:mm:ss a"
        ],
        "description": "Date format for date fields. Valid values: MM/DD/YYYY, DD/MM/YYYY, YYYY/MM/DD, Month DD, YYYY, MM/DD/YYYY hh:mm:ss a. Default: MM/DD/YYYY"
      },
      "CheckboxValidation": {
        "type": "string",
        "enum": [
          "minimum",
          "maximum",
          "range",
          "exact"
        ],
        "description": "Validation rule for checkbox groups"
      },
      "FileInfo": {
        "type": "object",
        "description": "File information",
        "properties": {
          "name": {
            "type": "string",
            "description": "File name"
          },
          "pages_number": {
            "type": "integer",
            "description": "Number of pages in the file"
          }
        },
        "required": [
          "name",
          "pages_number"
        ]
      },
      "LabelInfo": {
        "type": "object",
        "description": "Label information",
        "properties": {
          "id": {
            "type": "string",
            "description": "Label ID"
          },
          "name": {
            "type": "string",
            "description": "Label name"
          }
        }
      },
      "CheckboxGroupInfo": {
        "type": "object",
        "description": "Checkbox group configuration",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Checkbox group ID"
          },
          "group_name": {
            "type": "string",
            "nullable": true,
            "description": "Name of the checkbox group"
          },
          "recipient_id": {
            "type": "string",
            "nullable": true,
            "description": "Recipient ID associated with the group"
          },
          "checkbox_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "IDs of checkboxes in this group"
          },
          "validation": {
            "$ref": "#/components/schemas/CheckboxValidation",
            "nullable": true
          },
          "required": {
            "type": "boolean",
            "description": "Whether at least one checkbox must be checked"
          },
          "min_value": {
            "type": "integer",
            "description": "Minimum number of checkboxes to check"
          },
          "max_value": {
            "type": "integer",
            "description": "Maximum number of checkboxes to check"
          },
          "exact_value": {
            "type": "integer",
            "description": "Exact number of checkboxes that must be checked"
          }
        },
        "required": [
          "id",
          "checkbox_ids",
          "required"
        ]
      },
      "AttachmentRequestInfo": {
        "type": "object",
        "description": "Attachment request information",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the attachment request"
          },
          "url": {
            "type": "string",
            "format": "url",
            "description": "URL of the uploaded attachment (when available)"
          },
          "required": {
            "type": "boolean",
            "description": "Whether the attachment is required"
          }
        },
        "required": [
          "name",
          "required"
        ]
      },
      "ConditionalRuleRequest": {
        "type": "object",
        "description": "A conditional logic rule. Create requires target_id, action_type, action_field_ids and conditions; id and deleted are ignored on create. On an update (template update or document update-and-send) the rules are an incremental upsert keyed by id: send id + the fields to change to modify a rule, id + deleted: true to remove it, or omit id to add a new rule.",
        "properties": {
          "id": {
            "type": "string",
            "description": "The rule's persistent ID. Ignored on create (every rule is new). On an update (template update or document update-and-send) include it to modify an existing rule, or pair it with `deleted: true` to remove the rule; omit it to add a new rule."
          },
          "deleted": {
            "type": "boolean",
            "description": "Only meaningful on an update (template update or document update-and-send): set to true together with the rule's `id` to remove that rule. Ignored on create — there is no existing rule to delete."
          },
          "target_id": {
            "type": "string",
            "description": "api_id of the field that owns the rule, or the external_id of a checkbox group when the rule is owned by a group (groups have no api_id). Cannot also appear in action_field_ids (self-reference is forbidden)."
          },
          "action_type": {
            "type": "string",
            "enum": [
              "show",
              "hide",
              "require"
            ],
            "description": "Action applied to action_field_ids when the conditions are met: `show`, `hide`, or `require`."
          },
          "action_field_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "api_ids of the fields the action applies to. List a checkbox group's member api_ids to target the whole group."
          },
          "conditions": {
            "type": "array",
            "description": "The conditions that trigger the rule. At least 1, at most 5.",
            "items": {
              "type": "object",
              "properties": {
                "condition_type": {
                  "type": "string",
                  "enum": [
                    "any_of",
                    "all_of",
                    "none_of",
                    "not_all_of"
                  ],
                  "description": "How the field_api_ids combine within a condition: `any_of`, `all_of`, `none_of`, or `not_all_of`."
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "completed",
                    "not_completed"
                  ],
                  "description": "The field state the condition tests for: `completed` or `not_completed`."
                },
                "join_operator": {
                  "type": "string",
                  "enum": [
                    "and_operator",
                    "or_operator"
                  ],
                  "description": "How this condition joins the next one in the rule: `and_operator` or `or_operator`. The first condition's value is ignored."
                },
                "field_api_ids": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "api_ids of the trigger fields the condition watches."
                },
                "position": {
                  "type": "integer",
                  "description": "1-indexed order of the condition within the rule."
                }
              },
              "required": [
                "condition_type",
                "status",
                "field_api_ids"
              ]
            }
          }
        }
      },
      "ConditionalRuleInfo": {
        "type": "object",
        "description": "Conditional rule configuration",
        "properties": {
          "id": {
            "type": "string",
            "description": "Conditional rule ID"
          },
          "target_id": {
            "type": "string",
            "description": "api_id of the field that owns the rule, or the external_id of a checkbox group when the rule is owned by a group (groups have no api_id)"
          },
          "action_type": {
            "type": "string",
            "enum": [
              "show",
              "hide",
              "require"
            ],
            "description": "Action applied to action_field_ids when the conditions are met"
          },
          "action_field_ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "api_ids of fields the rule affects when triggered"
          },
          "conditions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "condition_type": {
                  "type": "string",
                  "enum": [
                    "any_of",
                    "all_of",
                    "none_of",
                    "not_all_of"
                  ],
                  "description": "How field_api_ids combine within this condition"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "completed",
                    "not_completed"
                  ],
                  "description": "Field state that satisfies this condition"
                },
                "join_operator": {
                  "type": "string",
                  "enum": [
                    "and_operator",
                    "or_operator"
                  ],
                  "description": "How this condition joins with the next one in the rule"
                },
                "field_api_ids": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "api_ids of fields evaluated by this condition"
                },
                "position": {
                  "type": "integer",
                  "description": "Order of this condition within the rule"
                }
              }
            }
          }
        },
        "required": [
          "id",
          "target_id",
          "action_type"
        ]
      },
      "TemplateCheckboxGroups": {
        "type": "array",
        "description": "Checkbox fields that are placed on a document can be grouped with selection requirements. At least 2 checkbox fields in an array of fields must be assigned to the same recipient.",
        "items": {
          "type": "object",
          "properties": {
            "group_name": {
              "type": "string",
              "description": "A unique identifier for the checkbox group."
            },
            "placeholder_id": {
              "type": "string",
              "description": "The recipient ID associated with the checkbox group."
            },
            "checkbox_ids": {
              "type": "array",
              "items": {
                "type": "string",
                "description": "A unique identifier for each checkbox in a group. ID must match the api_id of the checkbox field."
              }
            },
            "validation": {
              "$ref": "#/components/schemas/CheckboxValidation",
              "description": "Set requirements for the group of one or multiple selections by the recipient. Defaults to minimum. Validation values: minimum, maximum, exact, range."
            },
            "required": {
              "type": "boolean",
              "default": false,
              "description": "Whether the group must be completed by the recipient. Defaults to false."
            },
            "min_value": {
              "type": "integer",
              "description": "The minimum number of checkboxes that must be checked in the group. (Only for validation: minimum and range)"
            },
            "max_value": {
              "type": "integer",
              "description": "The maximum number of checkboxes that can be checked in the group. (Only for validation: maximum and range)"
            },
            "exact_value": {
              "type": "integer",
              "description": "The exact number of checkboxes that must be checked in the group. (Only for validation: exact)"
            }
          },
          "required": [
            "group_name",
            "placeholder_id",
            "checkbox_ids"
          ]
        }
      },
      "TemplateId": {
        "type": "string",
        "format": "uuid",
        "description": "Unique identifier for a template. A template that carries a pre-applied signature or initials field cannot be used while 21 CFR Part 11 is enabled, which requires every signature to be signed by the recipient: it returns a 422."
      },
      "LabelsUpdate": {
        "type": "array",
        "description": "Labels can be used to organize documents in a way that can make it easy to find using the document search in SignWell. A document can have multiple labels. Updating labels on a document will replace any existing labels for that document.",
        "items": {
          "$ref": "#/components/schemas/LabelRequest"
        }
      },
      "LabelRequest": {
        "type": "object",
        "description": "Labels can be used to organize documents and templates in a way that can make it easy to find using the document search/template search in SignWell. Labels can be used to organize documents in a way that can make it easy to find using the document search in SignWell.",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ]
      },
      "DocumentTemplateUpdateRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the template."
          },
          "subject": {
            "type": "string",
            "description": "Email subject for the signature request that recipients will see. Defaults to the default system subject or a template subject (if the document is created from a template). Applies to email notifications only; SMS notifications always use fixed system templates."
          },
          "message": {
            "type": "string",
            "description": "Email message for the signature request that recipients will see. Defaults to the default system message or a template message (if the document is created from a template). Applies to email notifications only; SMS notifications always use fixed system templates."
          },
          "draft": {
            "type": "boolean",
            "default": false,
            "description": "Whether the template can still be updated before it is ready for usage. If set to `false` the template is marked as `Available` and it will be ready for use. Defaults to `false`."
          },
          "expires_in": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of days before the signature request expires. Defaults to the account expiration setting or template expiration (if the document is created from a template)."
          },
          "reminders": {
            "type": "boolean",
            "default": true,
            "description": "Whether to send signing reminders to recipients. Reminders are sent on day 3, day 6, and day 10 if set to `true`. Defaults to `true`."
          },
          "apply_signing_order": {
            "type": "boolean",
            "default": false,
            "description": "When set to `true` recipients will sign one at a time in the order of the `recipients` collection of this request."
          },
          "api_application_id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier for API Application settings to use. API Applications are optional and mainly used when isolating OAuth apps or for more control over embedded API settings"
          },
          "redirect_url": {
            "type": "string",
            "format": "url",
            "description": "A URL that recipients are redirected to after successfully signing a document."
          },
          "allow_decline": {
            "type": "boolean",
            "default": true,
            "description": "Whether to allow recipients the option to decline signing a document. If multiple signers are involved in a document, any single recipient can cancel the entire document signing process by declining to sign."
          },
          "allow_reassign": {
            "type": "boolean",
            "default": true,
            "description": "In some cases a signer is not the right person to sign and may need to reassign their signing responsibilities to another person. This feature allows them to reassign the document to someone else. Unavailable on 21 CFR Part 11 documents: omit it and reassignment stays off, while sending `true` returns a 422."
          },
          "decline_redirect_url": {
            "type": "string",
            "format": "url",
            "description": "A URL that recipients are redirected to if the document is declined."
          },
          "conditional_rules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConditionalRuleRequest"
            },
            "description": "Conditional logic rules that show, hide, or require fields based on what a signer does to other fields. Every identifier is a field api_id. At most 10 rules per document or template."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Optional key-value data that can be associated with the document. If set, will be available every time the document data is returned."
          },
          "labels": {
            "$ref": "#/components/schemas/LabelsUpdate"
          },
          "checkbox_groups": {
            "$ref": "#/components/schemas/TemplateCheckboxGroups"
          }
        }
      },
      "DocumentTemplateResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "api_application_id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "requester_email_address": {
            "type": "string",
            "format": "email"
          },
          "custom_requester_name": {
            "type": "string",
            "nullable": true
          },
          "custom_requester_email": {
            "type": "string",
            "format": "email",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "metadata": {
            "type": "object",
            "nullable": true,
            "additionalProperties": {
              "type": "string"
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "placeholders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "subject": {
                  "type": "string",
                  "nullable": true
                },
                "message": {
                  "type": "string",
                  "nullable": true
                },
                "preassigned_recipient_name": {
                  "type": "string"
                },
                "preassigned_recipient_email": {
                  "type": "string"
                },
                "signing_order": {
                  "type": "integer"
                },
                "attachment_requests": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AttachmentRequestInfo"
                  }
                },
                "passcode_delivery": {
                  "type": "object",
                  "properties": {
                    "enabled": {
                      "type": "boolean"
                    },
                    "methods": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "nullable": true
                    },
                    "expire_after_access": {
                      "type": "boolean"
                    }
                  }
                }
              },
              "required": [
                "name"
              ]
            }
          },
          "copied_placeholders": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "placeholder_id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "subject": {
                  "type": "string",
                  "nullable": true
                },
                "message": {
                  "type": "string",
                  "nullable": true
                },
                "preassigned_recipient_name": {
                  "type": "string"
                },
                "preassigned_recipient_email": {
                  "type": "string"
                }
              },
              "required": [
                "name"
              ]
            }
          },
          "status": {
            "type": "string"
          },
          "reminders": {
            "type": "boolean",
            "nullable": true
          },
          "archived": {
            "type": "boolean"
          },
          "embedded_edit_url": {
            "type": "string",
            "format": "url",
            "nullable": true
          },
          "template_link": {
            "type": "string",
            "format": "url"
          },
          "template_id": {
            "type": "string",
            "nullable": true
          },
          "apply_signing_order": {
            "type": "boolean"
          },
          "redirect_url": {
            "type": "string",
            "format": "url",
            "nullable": true
          },
          "decline_redirect_url": {
            "type": "string",
            "format": "url",
            "nullable": true
          },
          "language": {
            "type": "string"
          },
          "expires_in": {
            "type": "integer",
            "nullable": true
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileInfo"
            }
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "x": {
                    "type": "number",
                    "format": "float"
                  },
                  "y": {
                    "type": "number",
                    "format": "float"
                  },
                  "page": {
                    "type": "integer"
                  },
                  "recipient": {
                    "type": "object",
                    "properties": {
                      "email": {
                        "type": "string",
                        "format": "email"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "email",
                      "name"
                    ]
                  },
                  "api_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "name": {
                    "type": "string",
                    "nullable": true
                  },
                  "date_format": {
                    "$ref": "#/components/schemas/DateFormat"
                  },
                  "fixed_width": {
                    "type": "boolean"
                  },
                  "formula": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "lock_sign_date": {
                    "type": "boolean"
                  },
                  "required": {
                    "type": "boolean"
                  },
                  "type": {
                    "$ref": "#/components/schemas/FieldType"
                  },
                  "validation": {
                    "$ref": "#/components/schemas/TextValidation"
                  },
                  "validation_regex": {
                    "$ref": "#/components/schemas/ValidationRegex"
                  },
                  "validation_regex_error_message": {
                    "$ref": "#/components/schemas/ValidationRegexErrorMessage"
                  },
                  "value": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "number"
                      }
                    ],
                    "nullable": true
                  },
                  "height": {
                    "type": "string"
                  },
                  "width": {
                    "type": "string"
                  },
                  "recipient_id": {
                    "type": "string",
                    "nullable": true
                  },
                  "signing_elements_group_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "placeholder_name": {
                    "type": "string"
                  },
                  "options": {
                    "type": "array",
                    "description": "Dropdown options (for dropdown/select fields)",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "api_id": {
                          "type": "string"
                        },
                        "is_other": {
                          "type": "boolean"
                        }
                      }
                    }
                  },
                  "default_option": {
                    "type": "string",
                    "description": "Default selected option"
                  },
                  "allow_other": {
                    "type": "boolean",
                    "description": "Whether \"Other\" option is allowed"
                  }
                },
                "required": [
                  "x",
                  "y",
                  "page"
                ]
              }
            }
          },
          "allow_decline": {
            "type": "boolean",
            "nullable": true
          },
          "allow_reassign": {
            "type": "boolean",
            "nullable": true
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LabelInfo"
            }
          },
          "checkbox_groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CheckboxGroupInfo"
            }
          },
          "conditional_rules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConditionalRuleInfo"
            }
          }
        },
        "required": [
          "id"
        ]
      },
      "ValidationErrorResponse": {
        "type": "object",
        "description": "Validation error response. The errors object contains field-specific error details with dynamic keys.",
        "properties": {
          "errors": {
            "type": "object",
            "additionalProperties": true,
            "description": "Field-specific validation errors. Keys are field names (e.g., recipients, fields, files). Values can be strings, arrays of strings, or nested objects with further field-specific errors."
          }
        },
        "required": [
          "errors"
        ]
      },
      "RateLimitErrorResponse": {
        "type": "object",
        "description": "Rate limit exceeded error response (HTTP 429)",
        "properties": {
          "error": {
            "type": "string",
            "description": "Rate limit error message indicating the limit and reset time"
          }
        },
        "required": [
          "error"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://www.signwell.com"
    }
  ]
}
```