# Template

## Implementation Overview

Evia Sign's "**Initiate Signature Request from Template**" API simplifies the process of generating signature requests based on predefined templates.&#x20;

This API endpoint enables the initiation of a signature request from a template:

<mark style="color:green;">`POST`</mark> `https://evia.enadocapp.com/_apis/sign/api/Requests?type=1`

#### Headers

| Name          | Type   | Description                                   |
| ------------- | ------ | --------------------------------------------- |
| Authorization | Bearer | Access token should be sent as request header |

{% tabs %}
{% tab title="200: OK " %}
Upon successful creation, a status code of 200 is returned, confirming the successful initiation of the sign request.
{% endtab %}
{% endtabs %}

The provided JSON body serves as an example, showcasing the essential parameters required to initiate such a request.

**Request Body for Template**

```json
{
        "templateId": "05117898-90db-45e5-b6b8-0230fd326e4f",
        "signatories": 
        [
            {
                "roleId": "9e7bb576-a2da-9fdc-d99c-958063dcfa19",
                "signatoryUserName": "Alison",
                "signatoryUserEmail": "alison@email.com"
            },
            {
                "roleId": "dd0caa50-58e1-bf28-441b-556bf70d5fc0",
                "signatoryUserName": "Stev Smith",
                "signatoryUserEmail": "stev@email.com"
            },
            {
                "roleId": "0612c8de-52b0-dc18-9a95-447041ebbe56",
                "signatoryUserName": "Jhone doe",
                "signatoryUserEmail": "jhone@email.com"
            }
        ]
}

```
