BoldSign Site Logo

Embed signing process within your app

Fill in for the Demo
Info-icon Try filling out the below form details, sending the document, and signing it. This will provide you with a better understanding of how the signing process works.
ID of a template created in BoldSign Web App
Code Reference The embedded sign request allows the signers to sign the document within your website or mobile app using an iFrame, popup window, or new tab.
Code flow:
Step 1
On the form submission, create the new document from the template using Send document from Template API. It will return the document Id which we can use to generate the embedded signing link.
curl -X 'POST' \ '' \
        -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
Use the following code by updating the received document ID from the previous step to generate the embedded signing URL.
curl -X GET '{ document Id }&signerEmail={ Enter Signer Email }' \ 
         -H 'X-API-KEY: { your API key }' \
Step 3
Once the embedded signing URL is generated, load the URL in iFrame inside your App using the following code.
<iframe src=";dfeab145-xxxx-xxxx-xxxx-d705b85823c8" style="width:100%;height:100%"/>