# `DocuSign.Api.EnvelopeDocumentHtmlDefinitions`
[🔗](https://github.com/neilberkman/docusign_elixir/blob/v3.4.0/lib/docusign/api/envelope_document_html_definitions.ex#L5)

API calls for all endpoints tagged `EnvelopeDocumentHtmlDefinitions`.

# `responsive_html_get_envelope_document_html_definitions`

```elixir
@spec responsive_html_get_envelope_document_html_definitions(
  DocuSign.Connection.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword()
) ::
  {:ok, DocuSign.Model.DocumentHtmlDefinitionOriginals.t()}
  | {:error, Req.Response.t()}
```

Retrieves the HTML definition used to generate a dynamically sized responsive document.
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/)

### Parameters

- `connection` (DocuSign.Connection): Connection to server
- `account_id` (String.t): The external account number (int) or account ID GUID.
- `document_id` (String.t): The GUID of the document.  Example: c671747c-xxxx-xxxx-xxxx-4a4a48e23744
- `envelope_id` (String.t): The envelope's GUID.   Example: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec` 
- `opts` (keyword): Optional parameters

### Returns

- `{:ok, DocuSign.Model.DocumentHtmlDefinitionOriginals.t}` on success
- `{:error, Req.Response.t}` on failure

---

*Consult [api-reference.md](api-reference.md) for complete listing*
