---
title: "Retrieves the HTML definition used to generate a dynamically sized responsive document."
method: GET
path: "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/html_definitions"
tags: ["EnvelopeDocumentHtmlDefinitions"]
---

# Retrieves the HTML definition used to generate a dynamically sized responsive document.

`GET /v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/html_definitions`

## Request

- Base URL: `https://www.docusign.net/restapi`
- URL: `https://www.docusign.net/restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/html_definitions`
- Auth: none declared

Retrieves the HTML definition used to generate a dynamically sized responsive document.

If the document was not created as a signable HTML document, this endpoint will return a 200-OK response and an empty JSON body. 

**Note:** The `documentId` query parameter is a GUID value, not an integer document ID. If an invalid document ID is provided, this endpoint will return a 200-OK response and an empty JSON body.

### Related topics

- [Responsive signing](/docs/esign-rest-api/esign101/concepts/responsive/)

## Path parameters

- `accountId` string, required
- `documentId` string, required
- `envelopeId` string, required

## Response `200`

Successful response.

## Other responses

- `400`: Error encountered.

---

[API](https://skmtc.dev/docusign/apis/docusign-esignature-rest-api.md) - [All operations](https://skmtc.dev/docusign/apis/docusign-esignature-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/docusign/apis/docusign-esignature-rest-api/revisions/77f1998c313d?raw)
