Parameter | Type | Required | Description |
subject | string | true | Name of the envelope. e.g. Offer Letter |
remark | string | false | Envelope message to all recipients, length limit 1000 words. |
expireAfterSeconds | long | false | Envelope expiration time, number of seconds after which the envelope expires. Expiration range: 86,400 seconds (1 day) ~ 7,776,000 seconds (90 days) |
redirectUrl | string | false | The page signers will be redirected to after completing signing process. The page url should be a valid HTTPS address. |
callBackUrl | string | false | The callback address to receive envelope events during the signing proces. Length limit: 500, should be a valid HTTPS address. |
sendLaterAfterSeconds | long | false | Support delayed sending in seconds Time range supported: 3600 seconds (1 hour) ~ 259200 seconds (30 days) |
CCInfos | array | false | CC recipient information |
| userEmail | string | false | Email address |
| userName | string | false | The name of the CC recipient. [Note]: cannot contain the following 9 special characters: / \ : * " < > |? And all emoji |
signFiles | array | true | The information of the documents that need to be signed. The display order of the documents is the order added. |
| fileKey | string | true | Document fileKey |
attachments | array | false | Envelope attachment. Attachments will be displayed in the order they were added. |
| fileKey | string | false | Attachment fileKey |
SignerInfos | array | true | Signer Information |
| businessId | string | false | Developer customized business number, length limit 500. |
| deliveryMethods | string | false | Delivery methods. Default: auto auto-Delivery via email if userEmail is provided, or via SMS if phoneNumber is provided none-No notifications email-Email notification sms-SMS notification WhatsApp-WhatsApp notification |
| userEmail | string | true | Signer's Email Address |
| userName | string | true | Signer's Name [Note]: The following 9 special characters cannot be included: / \ : * " < > |? and all emoji |
| phoneNumber | object | false | Phone Number of Signer It's required when need to notificate signer with SMS. |
| | countryCode | string | false | The International Code of the country region, without "+" |
| | number | string | false | Phone number, maximum length: 13 |
| signOrder | int | true | Signer's sign order, minimum 1. In unordered signing, the same order value can be assigned. |
| anySigner | boolean | false | Support signing by any one signer. Default: false true-Only one signatory is required per signOrder. false-All signers in the same signOrder must sign. |
| authModes | string | false | Verification method, noAuth by default noAuth-Do not verify accessCode-Access code sms-SMS OTP idVerification-ID Verification emailAuth-Email OTP |
| authConfig | object | false | Authentication Method |
| | accessCode | object | false | Required when authModes = accessCode |
| | | accessCode | string | false | Access code content, case-insensitive, can contain alphanumeric, length limit 45 |
| | | promptInfo | string | false | Access code prompt information, must not contain the access code, length limit 30. |
| | sms | object | false | Required when authModes = sms |
| | | countryCode | string | false | The International Code of the country or region, without "+". |
| | | number | string | false | Maximum length: 13 |
| | idVerification | object | false | Required when authModes = idVerification |
| | | name | string | false | The full name on the signer's identity document, with a maximum length of 100 characters. |
| | emailAuth | object | false | Required when authModes = emailAuth |
| | | authEmail | string | false | Signatory's authentication email. |
| digitalSignature | boolean | false | Whether to enable digital signature. Default is false. true - enable false - disable. |
| freeFormSign | boolean | false | Whether the signer can freely sign. Default value: false Supplementary note: When freeFormSign is set to true, other parameters under sealInfos are not required. If both freeFormSign and sealInfos are specified, the priority of freeFormSign takes precedence, and the parameters under sealInfos will not take effect. [Note]: Free signature means that the signer has no restrictions on the number and position of stamps/signatures they can sign. |
| SealInfos | array | false | Signing Task Information |
| | fileKey | string | true | Document fileKey |
| | signConfigs | array | false | Configures of signing |
| | | fieldType | string | false | Field type, default: signature signature-signature field stamp-stamp field approval-approval field |
| | | sizeRule | string | false | Sign configs display method originalSize-Original size of stamp/signature image targetSize-Customized target size When sizeRule, height, and width are all empty, the signature/seal is rendered at its original size. When sizeRule is empty but height or width is provided, it is rendered at the specified dimensions. When sizeRule is provided, it is rendered according to the specified display rule. |
| | | height | int | false | Signature or stamp field height. unit: px When fieldType is signature, the height can be set within the range of 20–250 px. When fieldType is stamp, the height can be set within the range of 30–280 px. |
| | | width | int | false | Signature or stamp field width. unit: px When fieldType is signature, the width can be set within the range of 20–250 px. When fieldType is stamp, the width can be set within the range of 30–280 px. |
| | | signatureOptions | string | false | The way to generate a signature. Only applicable when fieldType is signature. template: Template signature handDrawn: Hand-drawn signature upload: Upload signature image from local device Multiple choices can be selected, separated by ",", all selected by default |
| | | movable | boolean | false | Allow position adjustment during signing, default: false false-Signers cannot adjust the position of their own signing fields. true-Signatories can adjust the position of their own signing fields. |
| | | allowedOptions | array | false | The options available for the signer's approval. Applicable when fieldType is approval. Defaults to ["approve", "decline"]. approve - Approve decline - Decline |
| | | PageNo | string | false | Sign page numbers.Consecutive pages are connected with a '-', and ',' is used for separate pages. e.g., 1-3,6-10 |
| | | posX | float | false | X-axis coordinate [Note]: If fieldType is signature, the coordinate position refers to the lower left corner of the signature field; If fieldType is stamp, the coordinate position refers to the center point of the stamp field. |
| | | Posy | float | false | Y-axis coordinate [Note]: If fieldType is signature, the coordinate position refers to the lower left corner of the signature field; If fieldType is stamp, the coordinate position refers to the center point of the stamp field. |
| | fillConfigs | array | false | Fill in field information |
| | | fieldName | string | false | Field name, character limit 128 |
| | | required | boolean | false | Required, default true: true-required false-not required |
| | | fieldsType | string | false | Field Type: 1-Single line of text 15-Tick box |
| | | textField | object | false | Text Filed Properties |
| | | | overflowType | int | false | Only effective for text 1-Automatically reduce font size 2-Limit input |
| | | | minFontSize | float | false | Only effective for text, only for overflowType, default = 8 5, 5.5, 6, 6.5, 7, 7.5, 8, 9, 10, 10.5, 11, 12, 14, 15, 16, 18, 20, 22, 24, 26, 28, 36, 42, 48, 56, 72 |
| | | | width | int | false | Field width, default 160px |
| | | | font | int | false | Effective only for text, font, default Song 1-Song 2-New Song 4-Bold 5-Regular 6-Arial 7-Helvetica 9-Times New Roman 10-Faux Song 11-Georgia 12-Monospace |
| | | | fontSize | float | false | Only effective for text, default = 12 5, 5.5, 6, 6.5, 7, 7.5, 8, 9, 10, 10.5, 11, 12, 14, 15, 16, 18, 20, 22, 24, 26, 28, 36, 42, 48, 56, 72 |
| | | | textColor | string | false | Only effective for text, hexadecimal color |
| | | | bold | boolean | false | Only effective for text, whether the font is bold or not true-bold false-not bold |
| | | | italic | boolean | false | Only effective for text, italic or not true-italic false-not italic |
| | | | underline | boolean | false | Only effective for text, whether the font is underlined. true-underlined false-not underlined |
| | | | lineThrough | boolean | false | Only effective for text, whether to add strikethrough true-add strikethrough false-no strikethrough |
| | | | horizontalAlignment | string | false | Only effective for text, horizontally centered format LEFT-Align Left CENTER-Align center RIGHT-Align Right |
| | | tickBoxField | object | false | Tick Box Properties |
| | | | tickOptions | array | false | Only effective for tick box 1-tick 2-cross |
| | | posX | float | false | X-axis coordinate |
| | | posY | float | false | Y-axis coordinate |
| | | pageNo | string | false | The page number of the field |
| | signDateConfigs | array | false | Signing date and location information |
| | | movable | boolean | false | Allow position adjustment during signing, default: false false-Signatories cannot adjust the position of their own signing fields. true-Signatories can adjust the position of their own signing fields. |
| | | pageNo | string | false | Sign page numbers.Consecutive pages are connected with a '-', and ',' is used for separate pages. e.g. 1-3, 6-10 |
| | | posX | float | false | X-axis coordinate |
| | | posY | float | false | Y-axis coordinate |
| | | signDateFormat | string | false | Date signed format. The default format is yyyy-MM-dd. Support for specified formats: yyyy年MM月dd日 yyyy-MM-dd yyyy/MM/dd dd.MM.yyyy MM dd yyyy dd MM yyyy |