POST
/
templates
curl --request POST \
  --url https://restapi.sign.plus/v2/templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "tags": [
    "<string>"
  ],
  "ids": [
    "<string>"
  ],
  "first": 123,
  "last": 123,
  "after": "<string>",
  "before": "<string>",
  "order_field": "TEMPLATE_ID",
  "ascending": true
}'
{
  "has_next_page": true,
  "has_previous_page": true,
  "templates": [
    {
      "id": "<string>",
      "name": "<string>",
      "comment": "<string>",
      "pages": 123,
      "legality_level": "SES",
      "created_at": 123,
      "updated_at": 123,
      "expiration_delay": 123,
      "num_recipients": 123,
      "signing_steps": [
        {
          "recipients": [
            {
              "id": "<string>",
              "uid": "<string>",
              "name": "<string>",
              "email": "<string>",
              "role": "SIGNER"
            }
          ]
        }
      ],
      "documents": [
        {
          "id": "<string>",
          "name": "<string>",
          "filename": "<string>",
          "page_count": 123,
          "pages": [
            {
              "width": 123,
              "height": 123
            }
          ]
        }
      ],
      "notification": {
        "subject": "<string>",
        "message": "<string>",
        "reminder_interval": 123
      },
      "dynamic_fields": [
        "<string>"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string

Name of the template

tags
string[]

List of tag templates

Tag of the template

ids
string[]

List of templates IDs

ID of the template

first
integer
last
integer
after
string
before
string
order_field
enum<string>

Field to order templates by

Available options:
TEMPLATE_ID,
TEMPLATE_CREATION_DATE,
TEMPLATE_MODIFICATION_DATE,
TEMPLATE_NAME
ascending
boolean

Whether to order templates in ascending order

Response

200 - application/json
List of templates retrieved successfully
has_next_page
boolean

Whether there is a next page

has_previous_page
boolean

Whether there is a previous page

templates
object[]