Category / Section
How to send document to the signer via email using BoldSign API?
Published:
2 mins read
BoldSign offers three options to send the documents to signers:
- SMS
- Email & SMS
In this article, we will walk through how to request a signature from a signer via email using the BoldSign API.
Send document to the signer via email
Below are example codes for sending a document to the signer via email:
Code snippet
curl -X 'POST' \ 'https://api.boldsign.com/v1/document/send' \
-H 'accept: application/json' \
-H 'X-API-KEY: {your API key}' \
-H 'Content-Type: multipart/form-data' \
-F 'Message=' \
-F 'Signers={
"name": "Hanky",
"emailAddress": "hankyWhites@cubeflakes.com",
"signerType": "Signer",
"deliveryMode": "Email",
"formFields": [
{
"id": "string",
"name": "string",
"fieldType": "Signature",
"pageNumber": 1,
"bounds": {
"x": 50,
"y": 50,
"width": 1,
"height": 1
},
"isRequired": true
}
],
"locale": "EN"
}' \
-F 'Files=@{your file}' \
-F 'Title={title}' \
In the above examples, update the emailAddress
with the email address of the signer. Update the deliveryMode
as Email
. Additionally, replace the Files
and Title
properties with the appropriate document you want to send and its title. Also, provide form fields for the document in the formFields
array.
After executing the above code, the document will be created, and an email will be sent to the signer. Now, the signer can sign the document by clicking the link in the email.