Send e-Sign Contract Action

Send a contract to specified recipients for e-signature.

This action is available in API version 61.0 and later.

Supported REST HTTP Methods 

URI: /services/data/vXX.X/actions/standard/sendContractForESignature

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a variable.

Inputs 

InputTypeDescription
contractIdStringRequired.
ID of the contract to be sent to the recipients for e-signature.
emailTemplateNameStringRequired.
Developer name of the email template to send to the recipients.
eSignatureVendorNameStringRequired.
Name of the vendor providing the e-signature service.
getDocumentsApexClassNameStringAPI name of the customer-created Apex class used to get a collection of Apex document records to send for e-signature.
getRecipientsApexClassNameStringAPI name of the customer-created Apex class used to get a collection of Apex recipient records to send for e-signature.

Output 

OutputTypeDescription
sentContractIdStringID of the contract that was sent to the recipients.

Usage 

Sample Input

This sample request is for the Send e-Sign Contract action.

1{
2  "contractId": "800SG00000HtyxxYAB",
3  "eSignatureVendorName": "SampleVendor",
4  "emailTemplateName": "SampleVendorEmailTemplate",
5  "getDocumentsApexClassName": "GetEsignDocuments",
6  "getRecipientsApexClassName": "GetEsignRecipients"
7}
Sample Output

This sample response is for the Send e-Sign Contract action.

1{
2  "sentContractId": "800SG00000Hty4zYAB"
3}