You are here:
E-Signature APIs
You can use the e-signature APIs independently to call the Salesforce Contracts functionalities without using the UI. These APIs are highly customizable. You can send one or more generated documents for e-signature. Your generated documents can be associated with either standard or custom objects.
To know about the required permissions, refer to Permission Sets For DocuSign.
To know about the Apex governor limits, refer to Execution Governors and Limits.
For information on e-signature API's, see E-signature Resources.
| Method | Description |
|---|---|
| getRecipients | Use this method to view a list of document recipients. To add a custom logic via a custom class:
To customize how recipients are returned, implement the ind_docgen_api.OpenInterface interface in a global Apex class. Here’s a sample implementation that fetches all Contacts with the salutation "Mr.": recipientSelector and sourceObjectId are optional parameters. The sourceObjectId parameter is passed as input to the apex class and consumed as required. To configure the custom class using metadata, add a record in the Electronic Signature Configuration object with these values:
|
| getDocuments | Use this method to view a list of documents sent for e-signature. If the IsAssociatedWithClm parameter is:
To add a custom logic via a custom class:
To customize how documents are returned for eSignature, implement the ind_docgen_api.OpenInterface interface in a global Apex class. Here’s an example implementation that fetches documents from ContentVersion records linked to the given sourceObjectId: documentSelector is an optional parameter. To configure the custom class using metadata, add a record in the Electronic Signature Configuration object with these values:
You don't need to pass the custom class name in the API URL. |
| getNotificationSettings | Use this method to view reminder and expiration notification settings. The sourceObjectId is a mandatory parameter that returns the respective notification settings for an object. The API reads the notification settings from these configuration settings:
|
| sendEnvelope | Use this method to enable a new DocuSign transaction. |
| voidEnvelope | Use this method to expire or void envelopes associated with an object. |
| updateEnvelope | Use this method to send an ad hoc request to DocuSign to update the envelope status. |

