Quick Create Envelope

POST/openapi/v1/envelopes/quick-create

Create and send an envelope in a single call. The envelope immediately enters the signing workflow. By default, signing invitations are sent to recipients via email.

Associations

Tabs[].DocumentId corresponds to Documents[].DocumentId, and Tabs[].RecipientId corresponds to Signers[].RecipientId. The three are associated via flat ID references. Tabs[].RecipientId must reference a Signers[].RecipientId; referencing CarbonCopies is not allowed.

Sequential Signing

Set BasicInfo.SigningOrderType=sequential and assign a different SigningOrder to each signer (starting from 1, consecutive). The system will send signing invitations in that order.

Validation Rules

  1. Every document must contain at least one signing tab assigned to a signer.
  2. Every signer must have at least one tab in at least one document.
  3. When BasicInfo.SigningOrderType=sequential, every signer must provide SigningOrder, and the values must start from 1 and be consecutive (for example, 1,2,3). Gaps are not allowed.

Required Scope: envelope:create (holding the envelope:manage superset scope is also sufficient)


Request Parameters

AuthorizationRequiredstring
Bearer <access_token>
X-Operator-User-IdOptionalstring
Operator user ID. Not required in authorization_code mode (uses authorized user automatically); required in client_credentials mode, must be a valid member of the current space, this user will be the envelope sender.
application/json
BasicInfoRequiredobject
Envelope basic info (required)
EnvelopeTitleRequiredstring
Envelope title, max 300 characters (required)
SigningOrderTypeRequiredstring
Signing order type (required). parallel = all signers receive invitations at once; sequential = invitations are sent one by one according to Signers[].SigningOrder.
parallelsequential
EnvelopeDescriptionOptionalstring
Envelope description / remarks (optional)
ExpirationRequiredobject
Expiration settings (required)
⌃Sub-properties
ExpiresAtRequiredstring(date-time)
Signing deadline in RFC3339 format, e.g., 2024-02-15T23:59:59Z. The envelope is automatically voided after this time
WarnBeforeDaysOptionalinteger
Reminder days before expiry: X days before the envelope expires, one reminder email is sent to signers who have not completed signing. - Omitted: defaults to 3 days; if the validity period is shorter than 3 days, the reminder is sent immediately - 0: sends the reminder immediately - N (1 ≤ N): reminds N days before expiry; if N equals the remaining days, sends immediately - Negative, or greater than the remaining days: returns a parameter error
EmailNotificationOptionalobject
Email notification settings (optional)
EmailSubjectOptionalstring
Signing invitation email subject (optional, defaults to envelope's EnvelopeTitle)
EmailMessageOptionalstring
Email body shown to recipients (optional)
SkippedNotificationsOptionalarray<string>
Email notifications to skip. The corresponding party does not receive emails for the listed events; omit this field or pass an empty array to skip nothing (default behavior). Allowed values (6): - `sender_on_sent`: do not notify the sender after the envelope is sent - `signer_on_sent`: do not notify signers after the envelope is sent - `cc_on_sent`: do not notify carbon-copy recipients after the envelope is sent - `sender_on_finished`: do not notify the sender when the envelope reaches a final state - `signer_on_finished`: do not notify signers when the envelope reaches a final state - `cc_on_finished`: do not notify carbon-copy recipients when the envelope reaches a final state **Finished** covers all final states: fully signed, voided, expired and declined. Note: one person may belong to more than one party (for example the sender is also a signer), in which case they receive the emails sent to each party separately. To stop all of them, include every matching value — for example pass both `sender_on_finished` and `signer_on_finished`. Email only: SMS and email verification codes are not affected.
DocumentsRequiredarray<object>
Document list, 1-10 items (required)
DocumentIdRequiredstring
Client-generated temporary ID, unique within the request, referenced by Tab.DocumentId. Only letters, digits, hyphens (-), underscores (_); max 64 characters.
FileIdRequiredstring
File resource ID returned by the UploadFile endpoint (required)
NameOptionalstring
Document display name (optional; defaults to the original uploaded filename)
OrderRequiredinteger
Document display order, consecutive integers starting from 1, must be unique (required)
SignersRequiredarray<object>
Signer list, at least 1 item (required)
RecipientIdRequiredstring
Client-generated temporary ID, unique within the request, referenced by Tab.RecipientId. Only letters, digits, hyphens (-), underscores (_); max 64 characters.
NameRequiredstring
Name (required)
EmailRequiredstring(email)
Email (required)
SigningOrderOptionalinteger
Signing order. Required when SigningOrderType=sequential (consecutive integers starting at 1, no duplicates); must be 0 or omitted when parallel, otherwise VALIDATION.SIGNING_ORDER_CONFLICT is returned.
AuthenticationOptionalobject
Signer authentication settings (optional; signer opens link without extra verification if omitted)
AuthMethodsOptionalarray<string>
Authentication method, single choice (combinable options not yet available). Allowed: "email" | "access_code" | "ekyc". "none" is not supported; omit Authentication for no verification.
AccessCodeOptionalstring
Access code - required when AuthMethods contains "access_code"; signer must enter the code to enter the signing page.
EkycCertTypeOptionalstring
eKYC certificate type - required when AuthMethods contains "ekyc". Allowed: "idcard" | "passport" | "hkid".
ExcludedDocumentIdsOptionalarray<string>
Document IDs the signer does not participate in (optional). Only list the documents to exclude, referencing Documents[].DocumentId in the same request; empty = the signer participates in all documents of this envelope
SignerSigningSettingsOptionalobject
Signer signing settings (optional)
AllowedSignatureStylesOptionalarray<string>
Signature styles available to the signer (optional; omitted = all three styles open). Values: "system" (generated text signature) | "handwritten" | "upload" (uploaded signature image)
SignatureReuseDisabledOptionalboolean
Whether to disable reusing this signature on other unsigned tabs of the same envelope (optional, default false = allow reuse)
StampReuseDisabledOptionalboolean
Whether to disable reusing this stamp on other unsigned tabs of the same envelope (optional, default false = allow reuse)
AllowDragOptionalboolean
Whether the signer may drag to add signing tabs during signing (optional, default false). When true, AllowedDragSigningTabTypes is required
AllowedDragSigningTabTypesOptionalarray<string>
Tab types the signer may drag to add (optional, strictly consistent with AllowDrag). Allowed values: signing tabs signHere(signature) | stamp | pagingStamp | pagingSignature; fill tabs text | multiLineText | date | checkbox. Required and non-empty when AllowDrag=true, and must include at least one signing tab; must be empty when AllowDrag=false
AllowedStampIdsOptionalarray<string>
Stamp IDs available to the signer (max 50). Omit or leave empty for no restriction; when non-empty, only these stamps are selectable and uploading a temporary stamp image is disabled. This field defines visibility only — it is not a grant and does not create one automatically. Stamps from the current Space and from other Spaces are both accepted, but they are granted differently; see the integration flow in the introduction.
SpaceIdOptionalstring
Space ID of the signer (optional). Omit to resolve the signer's default space by email; when provided, the recipient inbox is fixed to this space and is not replaced by the default space. The space must exist and the signer must be an enabled member
NotificationLanguageOptionalstring
Notification language (optional, empty = follow the sender language). zh-CN = Simplified Chinese; zh-TW = Traditional Chinese; en = English; th = Thai; vi = Vietnamese; ms = Malay; id = Indonesian. Only affects email/SMS notification copy language, does not modify the document content
zh-CNzh-TWenthvimsid
CarbonCopiesOptionalarray<object>
Carbon-copy recipient list (optional)
RecipientIdRequiredstring
Client-generated temporary ID, unique within the request, referenced by Tab.RecipientId. Only letters, digits, hyphens (-), underscores (_); max 64 characters.
NameRequiredstring
Name (required)
EmailRequiredstring(email)
Email (required)
NotificationLanguageOptionalstring
Notification language (optional, empty = follow the sender language). zh-CN = Simplified Chinese; zh-TW = Traditional Chinese; en = English; th = Thai; vi = Vietnamese; ms = Malay; id = Indonesian. Only affects email/SMS notification copy language, does not modify the document content
zh-CNzh-TWenthvimsid
TabsRequiredarray<object>
Signing tab list, at least 1 item (required); linked to signers via Tab.RecipientId; may be empty when the signer's SignerSigningSettings.AllowDrag=true, signers add fields during signing
TabIdOptionalstring
Tab ID. Provided by the client (optional); auto-generated by the system when omitted.
TabTypeRequiredstring
Tab type. signHere=handwritten signature; stamp=stamp; initialHere=initial; dateSigned=sign date (auto-filled); text=text field; multiLineText=multiline text; checkbox=checkbox; date=date (filled by signer); list=dropdown list; attachment=attachment (signer uploads images, used together with Properties); pagingStamp=cross-page seal; pagingSignature=cross-page signature (cross-page controls are applied across all pages of the document, on the right edge of each page).
signHerestampinitialHeredateSignedtextmultiLineTextcheckboxdatelistattachmentpagingStamppagingSignature
RecipientIdRequiredstring
Owning signer ID, must match Signers[].RecipientId. Referencing CarbonCopies is not allowed.
DocumentIdRequiredstring
Owning document ID, corresponds to Documents[].DocumentId
PositionRequiredobject
Tab position (required)
PositionTypeRequiredstring
Positioning mode (required). `absolute` = absolute coordinates; `anchor` = keyword-based positioning.
absoluteanchor
PageNumberOptionalinteger
Page number (starts from 1). Required for `absolute` mode. Optional for `anchor` mode; omit or set to 0 to search the whole document.
XPositionOptionalnumber(double)
X coordinate, unit: pt. Required for `absolute` mode; must NOT be set for `anchor` mode.
YPositionOptionalnumber(double)
Y coordinate, unit: pt. Required for `absolute` mode; must NOT be set for `anchor` mode.
WidthOptionalnumber(double)
Field width, unit: pt (1 pt = 1/72 inch). Providing a concrete value is recommended (range 60–300). If 0 or omitted, the server fills in a default width based on TabType: 120 for signHere / initialHere / stamp / attachment / text, and 16 for checkbox.
HeightOptionalnumber(double)
Field height, unit: pt (1 pt = 1/72 inch). Providing a concrete value is recommended (range 20–120). If 0 or omitted, the server fills in a default height based on TabType: 50 for signHere / initialHere, 120 for stamp, 120 for attachment, 16 for checkbox, and 18 for text.
AnchorStringOptionalstring
Anchor keyword text. Required for `anchor` mode; must NOT be set for `absolute` mode.
AnchorXOffsetOptionalnumber(double)
X offset relative to the anchor keyword, unit: pt (optional, default 0). Only valid in `anchor` mode. Adds a horizontal shift on top of the position determined by `RelativeLocation`; positive values shift right, negative values shift left.
AnchorYOffsetOptionalnumber(double)
Y offset relative to the anchor keyword, unit: pt (optional, default 0). Only valid in `anchor` mode. Adds a vertical shift on top of the position determined by `RelativeLocation`; positive values shift down, negative values shift up.
MatchWholeWordOptionalboolean
Whether to match the keyword as a whole word, default false. Only valid in `anchor` mode. - `false` (fuzzy): A tab is placed at every occurrence of the keyword in the PDF (other characters may surround it). - `true` (whole-word): Only matches occurrences with no surrounding characters.
RelativeLocationOptionalstring
Keyword position alignment mode (optional) - anchor mode only, defaults to center alignment if not specified. Available values: Middle (center), Below (directly below), Right (directly right), LowerRight (lower right corner), UpperRight (upper right corner)
MiddleBelowRightLowerRightUpperRight
KeywordIndexesOptionalarray<integer>
Keyword indexes (optional) - anchor mode only. When the PDF contains multiple occurrences of the same keyword, specify which ones to use by index. Index starts from 0, e.g. [0,2] means use the 1st and 3rd keyword positions
NameOptionalstring
Tab name (optional). Used as the title rendered on the final document; for the attachment tab type it is the attachment name shown on the attachment page. Falls back to TabLabel when omitted.
TabLabelOptionalstring
Tab label (optional). Shown on the signing page as the placeholder hint for this tab (for example the input hint of a text box). Use Name for the title rendered on the final document.
ValueOptionalstring
Preset value (optional, applicable to text / date types)
RequiredOptionalboolean
Whether required; defaults to true (optional)
ReadOnlyOptionalboolean
Whether read-only; defaults to false (optional)
TooltipOptionalstring
Tooltip text (optional)
StyleOptionalobject
Font style (optional, applicable to text / date types)
FontFamilyOptionalstring
Font family (default: SimHei). SimHei=Heiti (sans-serif); SimSun=Song (serif); FangSong=Fangsong (serif). Allowed values: SimHei / SimSun / FangSong
SimHeiSimSunFangSong
FontSizeOptionalinteger
Font size, default 12, unit pt
FontColorOptionalstring
Font color in hexadecimal, default #000000
BoldOptionalboolean
Whether bold, default false
ItalicOptionalboolean
Whether italic, default false
TextAlignOptionalstring
Text alignment, default left
leftcenterright
PropertiesOptionalstring
Type-specific extended properties (optional), a JSON string. The structure varies by TabType, as follows

attachment

"{\"AttachmentType\":\"image\",\"MaxCount\":3}"
FieldTypeRequiredDescription
AttachmentTypestringNoAttachment type. Only image (signer uploads images) is supported; defaults to image
MaxCountintegerNoMaximum number of images uploadable per attachment tab. Range 1-6; omitted or 0 is treated as 1; values above 6 return a parameter error

text

"{\"FormatType\":\"email\",\"MaxLength\":100}"
FieldTypeRequiredDescription
FormatTypestringNoInput format. text=single-line text (default); email=email; number=number
MaxLengthintegerNoMaximum length, defaults to 4000

multiLineText

"{\"VerticalAlign\":\"top\"}"
FieldTypeRequiredDescription
VerticalAlignstringNoVertical alignment of the filled text: top (default) / middle / bottom

list

"{\"Options\":[\"Option A\",\"Option B\"],\"MultiSelect\":false,\"AutoWrap\":true}"
FieldTypeRequiredDescription
OptionsarrayYesDropdown options; the option text is the stored value
MultiSelectbooleanNotrue allows multiple selection; defaults to false (single selection). With multi-select, the value is stored as a JSON array
AutoWrapbooleanNoWhether multi-select display may wrap and expand the tab height by selected item; defaults to false

multiLineText

"{\"VerticalAlign\":\"top\"}"
FieldTypeRequiredDescription
VerticalAlignstringNoVertical alignment of the filled text: top (default) / middle / bottom

list

"{\"Options\":[\"Option A\",\"Option B\"],\"MultiSelect\":false,\"AutoWrap\":true}"
FieldTypeRequiredDescription
OptionsarrayYesDropdown options; the option text is the stored value
MultiSelectbooleanNotrue allows multiple selection; defaults to false (single selection). With multi-select, the value is stored as a JSON array
AutoWrapbooleanNoWhether multi-select display may wrap and expand the tab height by selected item; defaults to false

Note: Must be a valid JSON object, and may only use fields supported by the corresponding TabType; otherwise a parameter error is returned.

OutEnvelopeIdOptionalstring
External business ID for idempotency control (optional). If an envelope with the same OutEnvelopeId already exists, the original envelope ID is returned.
WatermarkOptionalobject
Watermark configuration (optional). When omitted, the envelope has no watermark.
SubTypeRequiredstring
Watermark type: CUSTOM_WATERMARK = custom text / PERSON_INFO_WATERMARK = visitor info (only for view/sign stage; not supported for download)
CUSTOM_WATERMARKPERSON_INFO_WATERMARK
TextOptionalstring
Custom text. Required when SubType=CUSTOM_WATERMARK; length 1-50.
ScopeViewOptionalboolean
Whether to overlay watermark in view / online signing stage.
ScopeDownloadOptionalboolean
Whether to overlay watermark on downloaded PDF.
StyleOptionalobject
Render parameters (optional).
FontOptionalstring
Font (default: SimHei). SimHei=Heiti (sans-serif); SimSun=Song (serif); FangSong=Fangsong (serif). Allowed values: SimHei / SimSun / FangSong
SimHeiSimSunFangSong
FontSizeOptionalinteger
Font size (pt). Range 6-72, default 20.
OpacityOptionalnumber(double)
Opacity. 0 = fully transparent, 1 = fully opaque. Range 0-1, default 0.1.
RotateOptionalinteger
Rotation angle in degrees, clockwise. Range 0-359, default 45.
DensityOptionalinteger
Tile density (effective only when Position=None): 1 = sparse / 2 = standard (default) / 3 = dense
PositionOptionalstring
Watermark position: None = tiled (default) / LeftTop / LeftBottom / RightTop / RightBottom / Center
NoneLeftTopLeftBottomRightTopRightBottomCenter

Request Example

{
  "BasicInfo": {
    "SigningOrderType": "sequential",
    "Expiration": {
      "ExpiresAt": "2024-02-15T23:59:59Z"
    },
    "EnvelopeTitle": "Procurement Contract 2024-Q1"
  },
  "EmailNotification": {
    "EmailSubject": "Please sign the procurement contract",
    "EmailMessage": "Please review and sign this contract. Thank you."
  },
  "Documents": [
    {
      "DocumentId": "doc1",
      "FileId": "SGf1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6",
      "Name": "procurement-contract.pdf",
      "Order": 1
    }
  ],
  "Signers": [
    {
      "RecipientId": "r1",
      "Name": "Alice",
      "Email": "alice@example.com",
      "SigningOrder": 1
    },
    {
      "RecipientId": "r2",
      "Name": "Bob",
      "Email": "bob@example.com",
      "SigningOrder": 2
    }
  ],
  "CarbonCopies": [
    {
      "RecipientId": "cc1",
      "Name": "Carol",
      "Email": "carol@example.com"
    }
  ],
  "Tabs": [
    {
      "TabType": "signHere",
      "RecipientId": "r1",
      "DocumentId": "doc1",
      "Position": {
        "PositionType": "absolute",
        "PageNumber": 3,
        "XPosition": 100,
        "YPosition": 200,
        "Width": 120,
        "Height": 40
      }
    },
    {
      "TabType": "signHere",
      "RecipientId": "r2",
      "DocumentId": "doc1",
      "Position": {
        "PositionType": "anchor",
        "AnchorString": "Party A Signature",
        "AnchorXOffset": 80,
        "AnchorYOffset": -10,
        "MatchWholeWord": true,
        "RelativeLocation": "Right",
        "KeywordIndexes": [
          0
        ],
        "Width": 120,
        "Height": 40
      }
    }
  ]
}

Response Parameters

EnvelopeIdOptionalstring
Envelope ID
OutEnvelopeIdOptionalstring
External business ID (returned if provided when creating, otherwise empty)
StatusOptionalstring
Envelope status. `sent` after successful sending; `sending` while async anchor resolving for large documents
sendingsent
CreatedAtOptionalstring(date-time)
Creation time, RFC3339 format

Response Example

{
  "Response": {
    "RequestId": "req-abc123",
    "Error": null,
    "Data": {
      "EnvelopeId": "SGEVa1b2c3d4e5f6",
      "Status": "sent",
      "CreatedAt": "2024-01-15T10:30:00Z"
    }
  }
}

Error Codes

Error CodeDescription
OPENAPI.OPERATOR_USER_ID_REQUIREDX-Operator-User-Id header not provided
OPENAPI.OPERATOR_USER_NOT_FOUNDThe user does not exist or is not in the current space
OPENAPI.OPERATOR_USER_NOT_HUMANOperator user must be a member of the current space
INVALID_REQUESTRequest body parsing failed
VALIDATION.TITLE_EMPTYEnvelope title is empty
VALIDATION.TITLE_TOO_LONGEnvelope title exceeds 300 characters
VALIDATION.SIGNING_ORDER_TYPE_INVALIDSigningOrderType is invalid
VALIDATION.DOCUMENT_REQUIREDDocument list is empty
VALIDATION.DOCUMENT_ID_DUPLICATEDuplicate document ID
VALIDATION.DOCUMENT_FILE_ID_EMPTYDocument FileId is empty
VALIDATION.SIGNER_REQUIREDSigner list is empty
VALIDATION.RECIPIENT_ID_DUPLICATEDuplicate signer or carbon-copy recipient ID
VALIDATION.RECIPIENT_EMAIL_INVALIDInvalid email format
VALIDATION.RECIPIENT_SPACE_NOT_MEMBERThe specified signer space does not exist, or the signer is not an enabled member of it
OPENAPI.SIGNATURE_STYLE_INVALIDSignature style contains an unsupported value (only system / handwritten / upload are allowed)
OPENAPI.DRAG_TAB_TYPE_INVALIDDrag tab type contains an unsupported value
OPENAPI.DRAG_TAB_TYPE_REQUIREDAllowed drag signing tab types are missing when drag is enabled
OPENAPI.DRAG_TAB_TYPE_UNEXPECTEDAllowed drag signing tab types are present when drag is disabled
OPENAPI.DRAG_TAB_TYPE_SIGNING_REQUIREDNo signing tab (signature/stamp/paging) is included in the allowed drag tab types
OPENAPI.ALLOWED_STAMP_IDS_EXCEEDEDAllowed stamp IDs exceed the maximum limit
OPENAPI.STAMP_NOT_FOUNDStamp not found
OPENAPI.STAMP_PERMISSION_DENIEDNo permission to use this stamp
VALIDATION.SIGNER_REQUIRES_TABSigner has no tabs
VALIDATION.DOCUMENT_REQUIRES_SIGNER_TABDocument has no signer tabs
VALIDATION.SIGNING_ORDER_INVALIDDuplicate signing order
VALIDATION.SIGNING_ORDER_REQUIREDSigningOrder is missing in sequential mode
VALIDATION.SIGNING_ORDER_NOT_SEQUENTIALSigning orders do not start from 1 and remain consecutive
VALIDATION.SIGNING_ORDER_CONFLICTNon-zero SigningOrder provided when SigningOrderType=parallel
VALIDATION.TAB_TYPE_INVALIDTab type is invalid
VALIDATION.TAB_DOCUMENT_NOT_EXISTTab references a non-existent document
VALIDATION.TAB_RECIPIENT_NOT_SIGNERTab RecipientId does not refer to a Signer
VALIDATION.TAB_PROPERTIES_INVALIDTab Properties is not valid JSON, contains fields not defined for the tab type, or has an invalid field value
VALIDATION.EXPIRES_AT_PASTExpiration time is in the past
ENVELOPE.OUT_ID_DUPLICATEOutEnvelopeId already exists (returns existing envelope)
EXTENSION.SKIPPED_NOTIFICATION_INVALIDInvalid SkippedNotifications value (not one of the 6 allowed values)
INTERNAL_ERRORInternal service error