Docusign TemplateDocuments API

The TemplateDocuments resource provides methods that manage documents in a template. You can: * add one or more documents to the template * retrieve one or more documents from the template * delete documents from the template All of the methods in this resource operate on on an existing template. Before you can add documents to a template, you must first create it with the [Templates: create][templatescreate] method. [templatescreate]: https://developers.docusign.com/esign-rest-api/reference/Templates/Templates/create/

GitHub OpenAPI

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v2.1/accounts/{accountId}/templates/{templateId}/documents Gets a list of documents associated with a template #
PUT /v2.1/accounts/{accountId}/templates/{templateId}/documents Adds documents to a template document #
DELETE /v2.1/accounts/{accountId}/templates/{templateId}/documents Deletes documents from a template #
GET /v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId} Gets PDF documents from a template #
PUT /v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId} Updates a template document #
GET /v2/accounts/{accountId}/templates/{templateId}/documents List the documents in a template · Docusign Gets a list of documents associated with a template #
Ask an LLM
“Which documents are included in a template?”
“Can I see the document list of a template before using it?”
Tell an agent
List documents in template {template} in account {account}.
Show what documents template {template} on account {account} contains.
PUT /v2/accounts/{accountId}/templates/{templateId}/documents Add documents to a template · Docusign Adds documents to a template document #
Ask an LLM
“How do I add several documents to an existing template?”
“Can I keep existing tabs when adding documents to a template?”
Tell an agent
Add these documents to template {template} in account {account}: {docs}.
Attach new documents to template {template} on account {account}.
DELETE /v2/accounts/{accountId}/templates/{templateId}/documents Remove documents from a template · Docusign Deletes documents from a template #
Ask an LLM
“Can I delete one or more documents from a template?”
“How do I strip outdated documents out of a template?”
Tell an agent destructive · confirm first
Delete documents {docs} from template {template} in account {account}.
Remove these documents from template {template} on account {account}.
GET /v2/accounts/{accountId}/templates/{templateId}/documents/{documentId} Download a template document as PDF · Docusign Gets PDF documents from a template #
Ask an LLM
“How do I download a template's document as a PDF?”
“Can I get all of a template's documents combined into one PDF?”
Tell an agent
Download document {document} from template {template} in account {account}.
Get the combined PDF of template {template} on account {account} using document {document}.
PUT /v2/accounts/{accountId}/templates/{templateId}/documents/{documentId} Add or replace one document in a template · Docusign Adds a document to a template document #
Ask an LLM
“Can I add a single document to a template at a specific document ID?”
“How do I replace one document in a template?”
Tell an agent
Put document {document} into template {template} in account {account}.
Replace document {document} of template {template} on account {account} with a new file.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/docusign:docusign-templatedocuments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

docusign-templatedocuments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v2.1
  title: Docusign eSignature REST Template Documents API
  description: The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign.
  termsOfService: https://www.docusign.com/company/terms-and-conditions/web
  contact:
    name: Docusign Developer Center
    url: https://developers.docusign.com/
    email: devcenter@docusign.com
servers:
- url: https://www.docusign.net/restapi
tags:


# --- truncated at 32 KB (1632 KB total) ---
# Full source: https://artifacts.apis.io/docusign/openapi/docusign-templatedocuments-api-openapi.yml