OKdokument API allows you to share signatureRequest url via e-mail. To send email you have to use rules:
- emailTo – email of the signer
- emailFrom – email of the sender
- nameFrom – name of the sender
Email will be delivered from okdokument@okdokument.sk, but when the signer hits reply/reply all button, the response will be sent directly to the sender (emailFrom).
We recommend also using the following rules for additional setup in the signing process:
- emailFinal – email for sending the signed document. By default, emailTo is used, but it can be changed. In case of multi-round signing, use this rule in the last signing round and fill all singers’ email addresses. Example: _emailFinal-email@address.com|email2@address.com_
- emailNotification – email for sending reminder that document is awaiting signature.
- language – language of the email template
- filename – document name, that will be used in the email template. If filename is not filled, technical document ID will be used as a document name.
Email rules can be combined with other rules e.g. for multi-round signing, OTP signing etc.
{
"rules": {
"emailTo": "email@adress.com",
"emailFrom": "email2@adress2.com",
"emailFinal_nameFrom": "Jon Doe",
"emailNotification_language": "en"
},
"filedata": {
"filename":"exampleDocument.pdf",
"content": "xyz_JVBERi0xLjc=="
}
}