> You are reading the Docusign Developer Documentation. For clean Markdown of any page, append .md to the page URL.
>
> Documentation indexes by section:
> - APIs and SDKs: https://docusign.docs.buildwithfern.com/docs/llms.txt
> - Platform 101: https://docusign.docs.buildwithfern.com/platform/llms.txt
> - Extension Apps: https://docusign.docs.buildwithfern.com/extension-apps/llms.txt
> - Docusign CLI: https://docusign.docs.buildwithfern.com/docusign-cli/llms.txt
>
> Authentication (OAuth, JWT Grant, M2M): https://docusign.docs.buildwithfern.com/platform/auth
> Webhooks and Connect: https://docusign.docs.buildwithfern.com/platform/webhooks
>
> OpenAPI specifications: https://docusign.docs.buildwithfern.com/openapi.json
> MCP server: https://docusign.docs.buildwithfern.com/_mcp/server

# EnvelopeTemplates Resource

The EnvelopeTemplates resource provides methods that allow you to add and delete templates on envelopes and documents.

## Methods supported

| Method                                                                                           | Description                                                                                                                                                             |
| ------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [apply](/docs/esign-rest-api/v2/reference/envelopes/envelopetemplates/apply)                     | POST `/restapi/v2/accounts/{accountId}/envelopes/{envelopeId}/templates` Adds templates to an envelope.                                                                 |
| [applyToDocument](/docs/esign-rest-api/v2/reference/envelopes/envelopetemplates/applytodocument) | POST `/restapi/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates` Adds templates to a document in an envelope.                            |
| [delete](/docs/esign-rest-api/v2/reference/envelopes/envelopetemplates/delete)                   | DEL `/restapi/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates/{templateId}` Deletes a template from a document in an existing envelope. |
| [list](/docs/esign-rest-api/v2/reference/envelopes/envelopetemplates/list)                       | GET `/restapi/v2/accounts/{accountId}/envelopes/{envelopeId}/templates` Get List of Templates used in an Envelope                                                       |
| [listByDocument](/docs/esign-rest-api/v2/reference/envelopes/envelopetemplates/listbydocument)   | GET `/restapi/v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates` Gets the templates associated with a document in an existing envelope.   |

## EnvelopeTemplates properties

| Property    | Type  | Description |
| ----------- | ----- | ----------- |
| `templates` | array |             |