Document Embed Update

Get the HTML code for an existing document embed.

Action: issuu.document_embed.get_html_code


This method requires authentication.

Request parameters

Name Data type Description
apiKey (required) string Application key for the account
signature (required) string See Signing Requests
embedId (required) integer An existing embed. The embedId is returned as the id field when you create an embed See issuu.document_embed.add or by listing exsiting embed See issuu.document_embeds.list
It is a single integer and NOT the dataConfigId used by the widget

Here is a basic example of an HTML upload form.

<form action="" method="get">
  <input type="hidden" name="action" value="issuu.document_embed.get_html_code"/>
  <input type="hidden" name="apiKey" value="g0ch5rj9ywztlo022w70naymutm2fbbg"/>
  <input type="text" name="embedId"/>
  <input type="submit" value="Get code"/>


Pre-formatted HTML code snippet

Example responses


<div data-configid="1000974/1000068" style="width: 320px; height: 180px;" class="issuuembed"></div>
<script type="text/javascript" src="//" async="true"></script>

Error codes

Code Message
009 Authentication required
010 Invalid API key
200 Required field is missing
201 Invalid field format