Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

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/v59.0/actions/standard/sendContractForESignature
Formats
JSON, XML
HTTP Methods
POST
Authentication
Authorization: Bearer token

Inputs

Input Details
contractId
Type
String
Description

Required.

ID of the contract to be sent to the recipients for e-signature.

emailTemplateName
Type
String
Description

Required.

Developer name of the email template to send to the recipients.

eSignatureVendorName
Type
String
Description

Required.

Name of the vendor providing the e-signature service.

getDocumentsApexClassName
Type
String
Description

API name of the customer-created Apex class used to get a collection of Apex document records to send for e-signature.

getRecipientsApexClassName
Type
String
Description

API name of the customer-created Apex class used to get a collection of Apex recipient records to send for e-signature.

Output

Output Details
sentContractId
Type
String
Description

ID 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}