- 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
Create template
POST
https://api.signater.com/v1/ecm/templates
Template
Last modified:2025-03-29 12:47:42
Request
Authorization
Add parameter in header
x-api-token
Example:
x-api-token: ********************
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 (CreateTemplateFieldApiRequest) {6}] | 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": "7d189a0a-c323-4fa7-b528-1956b83156c1",
"name": "Contract Template",
"description": "A template description for contracts between parties.",
"payload": "{ \"key\": \"value\" }",
"fields": [
{
"name": "First Name",
"alias": "first_name",
"description": "The first name of the individual.",
"isRequired": true,
"type": "Text",
"customRegex": null
},
{
"name": "Age",
"alias": "age",
"description": "The age of the individual.",
"isRequired": false,
"type": "Number",
"customRegex": 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 POST 'https://api.signater.com/v1/ecm/templates' \
--header 'Content-Type: application/json' \
--data-raw '{
"vaultId": "7d189a0a-c323-4fa7-b528-1956b83156c1",
"name": "Contract Template",
"description": "A template description for contracts between parties.",
"payload": "{ \"key\": \"value\" }",
"fields": [
{
"name": "First Name",
"alias": "first_name",
"description": "The first name of the individual.",
"isRequired": true,
"type": "Text",
"customRegex": null
},
{
"name": "Age",
"alias": "age",
"description": "The age of the individual.",
"isRequired": false,
"type": "Number",
"customRegex": null
},
{
"name": "Score",
"alias": "score",
"description": "Score number.",
"isRequired": false,
"type": "Custom",
"customRegex": "^[0-9]+$"
}
]
}'
Responses
🟢201Created
application/json
Body
id
string <uuid>
optional
Example
{
"id": "b06f3576-39ff-4ef6-a2ce-3f2a7d98d4d1"
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
Modified at 2025-03-29 12:47:42