- Introduction
- Concepts
- Authentication
- Webhooks
- Envelope lifecycle
- Error handling
- Contact
- Document
- Envelope
- Get envelope certificate fileGET
- Process envelope certificatePOST
- Get envelopeGET
- Update envelopePUT
- Remove envelopeDELETE
- Create envelopePOST
- List available envelope ownersGET
- Change envelope user account ownerPOST
- Rename envelopePOST
- Move envelopePOST
- Publish envelopePOST
- Unschedule envelope publicationPOST
- Hold envelopePOST
- Cancel envelopePOST
- Restore envelopePOST
- Manual reinvite to review envelopePOST
- Create signature linkGET
- Template
- Vault
Update template
PUT
https://api.signater.com/v1/ecm/templates/{templateId}
Template
Last modified:2025-03-29 12:47:42
Request
Authorization
Add parameter in header
x-api-token
Example:
x-api-token: ********************
Path Params
templateId
string <uuid>
required
Body Params application/json
vaultId
string <uuid>
required
>= 1 characters
name
string
required
>= 2 characters<= 200 characters
description
string | null
optional
<= 4000 characters
payload
string | null
optional
fields
array[object (UpdateTemplateFieldApiRequest) {7}] | null
optional
id
string <uuid> | null
optional
name
string
required
>= 2 characters<= 200 characters
alias
string
required
>= 2 characters<= 200 characters
Match pattern:
^[a-zA-Z0-9_-]*$
description
string | null
optional
<= 4000 characters
isRequired
boolean
required
type
enum<string>
required
>= 1 characters
Allowed values:
BrCepBrCpfBrCnpjDateOnlyTimeOnlyDateTimeEmailNumberTextCustom
customRegex
string | null
optional
<= 200 characters
Example
{
"vaultId": "4b015697-0676-4f3a-a09a-e12540e0d640",
"name": "Contract Template",
"description": "A template description for contracts between parties.",
"payload": "{ \"key\": \"value\" }",
"fields": [
{
"id": "1a2a809b-7799-4004-8a8d-716867f0a8a4",
"name": "First Name",
"alias": "first_name",
"description": "The first name of the individual.",
"isRequired": true,
"type": "Text",
"customRegex": null
},
{
"id": null,
"name": "Age",
"alias": "age",
"description": "The age of the individual.",
"isRequired": false,
"type": "Number",
"customRegex": null
},
{
"id": null,
"name": "Score",
"alias": "score",
"description": "Score number.",
"isRequired": false,
"type": "Custom",
"customRegex": "^[0-9]+$"
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.signater.com/v1/ecm/templates/' \
--header 'Content-Type: application/json' \
--data-raw '{
"vaultId": "4b015697-0676-4f3a-a09a-e12540e0d640",
"name": "Contract Template",
"description": "A template description for contracts between parties.",
"payload": "{ \"key\": \"value\" }",
"fields": [
{
"id": "1a2a809b-7799-4004-8a8d-716867f0a8a4",
"name": "First Name",
"alias": "first_name",
"description": "The first name of the individual.",
"isRequired": true,
"type": "Text",
"customRegex": null
},
{
"id": null,
"name": "Age",
"alias": "age",
"description": "The age of the individual.",
"isRequired": false,
"type": "Number",
"customRegex": null
},
{
"id": null,
"name": "Score",
"alias": "score",
"description": "Score number.",
"isRequired": false,
"type": "Custom",
"customRegex": "^[0-9]+$"
}
]
}'
Responses
🟢204No Content
This response does not have a body.
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Modified at 2025-03-29 12:47:42