Add a document to a template
Adds a document (a temporary upload from POST /documents) to the template’s document set, at position or last. Documents at that position and after it move up by one. At most 20 documents and 100 MB per template.
Available to every company. This operation is part of the multi-document contract (API 01.39.00). For a signing request or template the API key cannot see, it answers 404 with code NOT_FOUND (“Endpoint not found”), exactly as an unknown endpoint does. While multi-document editing is suspended, this operation returns 409 MULTI_DOCUMENT_READ_ONLY for parents on the multi-document read-only path and 404 NOT_FOUND for parents on the single-document path.
Authorizations
API key for authentication. Use your API key directly without any prefix (e.g., 'your-api-key'). Bearer prefix is optional but not required.
Path Parameters
Template ID
Body
Temporary upload id from POST /documents (a PDF). Consumed once the document is added.
1-based position of the new document; at most the current count + 1. Defaults to last.
x >= 1Display name of the document (no control characters).
200File name to record for the document (no control characters).
255