---
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`

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.net/docusign/apis/docusign-esignature-rest-api.md) · [All operations](https://skmtc.net/docusign/apis/docusign-esignature-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/docusign/docusign-esignature-rest-api/versions/77f1998c313d/schema)
