BoldSign Site Logo

Embed send document within your app

Fill in for the Demo
Info-icon Try filling out the form details below and sending the document for signing. This will give you a better understanding of how the Embedded Send for Signing process works.
ID of a template created in BoldSign Web App
Code Reference The embedded request allows the sender to send the document directly within your website or mobile app using an iFrame, a popup window, or a new tab.
Code flow:
Step 1
On the form submission, create the new document from the template using Create embedded request link from template API. It will return the document Id which we can use to generate the embedded request link.
curl -X 'POST' \ 'https://api.boldsign.com/v1/template/createEmbeddedRequestUrl?templateId=9506074e-fe2d-4328-a03e-be1cea9bc6ad' \
        -H 'accept: application/json' \
        -H 'X-API-KEY: { your API key }' \
        -H 'Content-Type: application/json;odata.metadata=minimal;odata.streaming=true' \
        -F 'DisableEmails=true'
        -d '{}` 
                    
Step 2
Once the embedded URL is generated for sending a signature request, load the URL in an iFrame within your app using the following code.
<iframe src="https://app.boldsign.com/document/embed/?documentId=17882f5a-xxxx-xxxx-xxxx-ce5737756339s_dyU07s_hkU07;dfeab145-xxxx-xxxx-xxxx-d705b85823c8" style="width:100%;height:100%"/>