POST /esignglobal/v1/envelopeTemplates/sendEnvelope
API Description
Initiate signing using the pre-configured "envelope template" on the client side.
Request Parameters
Parameter Name
Type
Required
Description
envelopeTemplateId
string
true
Envelope Template ID
envelopeConfig
object
true
Signing Workflow Configuration
contractConfig
boolean
false
Contract Signing Configuration
envelopeRemark
array
false
Contract Remarks
envelopeSubject
string
true
Subject of the current signing process
expireAfterSeconds
int
false
Signing deadline for this process. No further signing will be allowed after this time. Unix timestamp in milliseconds. Default and maximum validity period is 90 days.
callbackUrl
string
false
Web URL for receiving callback notifications
redirectUrl
string
false
Must be a valid HTTPS address
signConfig
object
false
Signer Configuration Item
allowTransfer
boolean
false
Whether the signer is allowed to transfer this envelope to others for signing, default false
true-Allows the signer in the envelope to have the authority to transfer the envelope to others;
false-Does not allow the signer in the envelope to have the authority to transfer the envelope to others;
participants
array
false
Participant Configuration
participantId
string
true
Participant ID
authConfig
object
false
Authentication Configuration Item
willingnessAuthModes
array
false
Optional authentication method for the signer, default noAuth
noAuth-No authentication
accessCode-Verify using signing passcode
sms-SMS OTP verification
idVerification-ID document verification
emailAuth-Email OTP verification
digitalId-Digital identity verification
whatsappAuth-WhatsApp OTP verification
accessCode
object
false
Signature password settings, required when authModes=accessCode
accessCode
string
false
Password content, case-insensitive, may contain alphanumeric characters, max length 45
promptInfo
string
false
Access password prompt message, must not contain the access password, max length 30, required when authModes=1.
sms
object
false
SMS OTP verification, required when authModes=sms
countryCode
string
false
International country/region code, '+' is not required
number
string
false
No format validation, max length limited to 13 characters
idVerification
object
false
ID document verification settings, required when authModes=idVerification
name
string
false
Full name on the signer's ID document, max length 100 characters
emailAuth
object
false
Email OTP verification, required when authModes=emailAuth
authEmail
string
false
Signer's identity verification email address
digitalId
array
false
Digital ID verification, required when authModes=digitalId
authApp
string
false
App used for digital ID verification
singpass-Identity authentication using Singpass
iamsmart-Identity authentication using iAM Smart
idNumber
string
false
Signer's ID document number pending verification
whatsappAuth
object
false
whatsapp OTP verification, required when authModes=whatsappAuth
countryCode
string
false
International dialing code for the country/region, do not include '+'
number
string
false
No format validation, only limits maximum length to 13 digits
participantInfos
object
false
Individual participant
userEmail
string
false
Signer email
phoneNumber
object
false
Phone number, defaults to empty
Required parameter when SMS notification is needed, both countryCode and number must be passed
countryCode
string
false
International dialing code for the country/region, do not include '+'
number
string
false
No format validation, only limits maximum length to 13 digits
userName
string
false
Individual name
deliveryMethod
string
false
Notification method
none-Do not send message notifications
email-Send email notifications
sms-Send SMS notifications
WhatsApp-Send WhatsApp notifications
customizeSettings
object
false
Custom Configuration
customizeMessage
object
false
Notification Custom Configuration
notificationLanguage
string
false
Notification language, defaults to English
en-US English
zh-CN Simplified Chinese
zh-Hant Traditional Chinese
ja Japanese
ES-MX Spanish
copiers
array
false
Add CC Recipient
copierId
string
true
Participant ID
CCInfos
object
false
CC Recipient Information
userEmail
string
false
Email
userName
string
false
Personal Name
customizeSettings
object
false
Custom Configuration
customizeMessage
object
false
Notification Custom Configuration
notificationLanguage
string
false
Notification language, defaults to English
en-US English
zh-CN Simplified Chinese
zh-Hant Traditional Chinese
ja Japanese
ES-MX Spanish
attchments
array
false
Add attachment (unsigned document) information
documentId
string
false
Attachment file ID
fileName
string
false
Attachment file name
components
array
false
Field list
documentId
string
false
Document ID containing the field
componentId
string
false
Field ID
componentKey
string
false
Field key, (choose either field ID or field key)
componentValue
string
false
Field fill value
editComponentValue
boolean
false
Specifies whether the signer can modify the pre-filled content for this field, defaults to true
true-Signer can modify pre-filled values
false-Locked as read-only when pre-filled values exist; signer cannot modify