---
title: "Update signature template"
method: PUT
path: "/v2/signature-templates/{template_id}"
tags: ["Signature"]
---

# Update signature template

`PUT /v2/signature-templates/{template_id}`

## Request

- Base URL: `https://api.sandbox.eu.bandyer.com`
- URL: `https://api.sandbox.eu.bandyer.com/v2/signature-templates/{template_id}`
- Auth: API key in header `apikey`

Update a signature template by its Id.

## Path parameters

- `template_id` string, required

## Request body

- object
  - `friendly_name` string: Friendly name.
  - `type` 'contract' | 'FEA_adhesion': Type of the signature template.
  - `sign_coordinates` object[]: Details of sign coordinates.
    - `start_tag_pattern` string, required: Start tag pattern should be unique, it's composed of an anchor (mandatory), a keyword (mandatory), and a second anchor (optional). It must be present in the document to sign as the provider will print the signature/s in that place. It must match the following regex `/(^[#$]+)([a-zA-Z0-9_]+)([#$]+$)?$/` - Possible tags: * available symbols: `$` `#` * `anchors` allow only available symbols and can have any length * `keyword` is alphanumeric and can have any length and contain underscores - Examples: `$$SIGN` `$SIGN#` `##SIGN##`
    - `x_offset` number: Action placeholder X offset, is optional and default value is 0.
    - `y_offset` number: Action placeholder Y offset, is optional and default value is 0.

## Response `200`

- object
  - `id` string: Signature template Id.
  - `friendly_name` string: Friendly name.
  - `type` 'contract' | 'FEA_adhesion': Type of the template.
  - `sign_coordinates` object[]: Array of sign coordinates.
    - `start_tag_pattern` string, required: Start tag pattern should be unique, it's composed of an anchor (mandatory), a keyword (mandatory), and a second anchor (optional). It must be present in the document to sign as the provider will print the signature/s in that place. It must match the following regex `/(^[#$]+)([a-zA-Z0-9_]+)([#$]+$)?$/` - Possible tags: * available symbols: `$` `#` * `anchors` allow only available symbols and can have any length * `keyword` is alphanumeric and can have any length and contain underscores - Examples: `$$SIGN` `$SIGN#` `##SIGN##`
    - `x_offset` number: Action placeholder X offset, is optional and default value is 0.
    - `y_offset` number: Action placeholder Y offset, is optional and default value is 0.
  - `creation_date` string, date-time: Creation date of the signature template.
  - `updated_at` string, date-time: Update date of the signature template.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `422`: Unprocessable Content
- `429`: Too Many request

---

[API](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2.md) - [All operations](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/revisions/4424fd54ae42?raw)
