Actions341
- Account Actions
- Account Brand Actions
- Account Consumer Disclosure Actions
- Account Custom Field Actions
- Account Password Rule Actions
- Account Permission Profile Actions
- Account Seal Provider Actions
- Account Signature Actions
- Account Signature Provider Actions
- Account Tab Setting Actions
- Account Watermark Actions
- Authorization Actions
- BCC Email Archive Actions
- Billing Plan Actions
- Bulk Envelope Actions
- Chunked Upload Actions
- Cloud Storage Actions
- Connect Configuration Actions
- Custom Tab Actions
- Diagnostic Resource Actions
- Diagnostic Service Actions
- Document Generation Actions
- eNote Configuration Actions
- Envelope Actions
- Envelope Attachment Actions
- Envelope Comment Actions
- Envelope Consumer Disclosure Actions
- Envelope Custom Field Actions
- Envelope Document Field Actions
- Envelope Document Tab Actions
- Envelope Document Visibility Actions
- Envelope Email Setting Actions
- Envelope Form Data Actions
- Envelope HTML Definition Actions
- Envelope Lock Actions
- Envelope Publish Actions
- Envelope Recipient Tab Actions
- Envelope Template Actions
- Envelope Transfer Rule Actions
- Envelope View Actions
- Envelope Workflow Actions
- Favorite Template Actions
- Folder Actions
- Group Actions
- Group Brand Actions
- Group User Actions
- Identity Verification Actions
- Invoice Actions
- Notary Actions
- Notary Journal Actions
- Notary Jurisdiction Actions
- Payment Actions
- Payment Gateway Actions
- PowerForm Actions
- PowerForm Data Actions
- Request Log Actions
- Responsive HTML Preview Actions
- Signing Group Actions
- Signing Group User Actions
- Tabs Blob Actions
- Template Actions
- Template Custom Field Actions
- Template Document Actions
- Template Document Field Actions
- Template Document Tab Actions
- Template Document Visibility Actions
- Template HTML Definition Actions
- Template Lock Actions
- Template Recipient Actions
- Template Recipient Tab Actions
- Template View Actions
- User Actions
- User Contact Actions
- User Custom Setting Actions
- User Profile Actions
- User Signature Actions
- Workspace Actions
- Workspace Item Actions
Template HTML Definition → Create Document Responsive HTML
AI-generatedSummary
Generate responsive HTML preview of a specified document within a DocuSign template to enable dynamic rendering of the document in client applications.
Inputs
- Authentication — Choose between OAuth2 or JWT authentication methods to access the DocuSign API.
- Category — Select the API category; default is 'envelopes' though it operates on template document level.
- Account ID (required) — The DocuSign Account ID (GUID) used to scope the API request.
- Template ID (required) — The ID (GUID) of the template containing the document to render.
- Document ID (required) — The numeric ID of the document in the template to generate responsive HTML for; special values like 'combined', 'archive', 'certificate' are also supported.
- Request Body (JSON) — JSON object specifying options for the responsive HTML preview request body as defined by DocuSign API's structure.
Output shape
a JSON object containing the responsive HTML definition for the specified document.
The response conforms to the DocuSign API's responsive HTML preview structure. This operation is used for generating a client-optimized HTML rendering of a template document and may require proper DocuSign account and template setup. No pagination or streaming is involved.
Examples
Example 1: Generate a responsive HTML preview for document ID '1' in a template using OAuth2 authentication.
Set Account ID and Template ID to valid GUIDs, specify Document ID as '1', and provide a compliant JSON object in Request Body if customization is needed.
