Skip to main content

Hello,

We’ve a couple of requirements listed below - 

  1. To generate a document which needs to have an image embedded on the document. Image is stored inside Salesforce.
  2. To generate a document which needs to have an image embedded on the document. Image is the signature of a recipient which has previously signed another document which has similar or almost same information as the new one.

I can see that this API - getRecipientSignature | REST API | Docusign - can fetch the user signature. But imageBase64 attribute is not returned in the response. I observed that the signatureType attribute is “rubberStamp” in the response. 

How to achieve this ? 

  1. Should I use eSignature API ? If yes, how to get the base64 for recipient’s signature ?
  2. Should I use DocGen API ?

Note: I don’t want to send an envelope for signing.

Appreciate the help.

Thanks in advance!

 

Dear Megul,

you can use https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/getrecipientsignatureimage/

which will return the image and you can decode it in your code to be back as image from string.

 

regard,

Mahmoud Essam


Thanks @Mahmoud.Essam for the response.

getRecipientSignatureImage | REST API | Docusign - This API returns a file as a stream of bytes. How to consume this and embed it on the document ? Could you please let me know which API can be used & what would be the structure of the request body ?

Regards,

Mehul Shah


Reply