Get Envelope Detail

POST/openapi/v1/envelopes/detail

Get the envelope's current status and signer progress.


Request Parameters

AuthorizationRequiredstring
Bearer <access_token>
X-Operator-User-IdOptionalstring
Operator user ID. Not required in Authorization Code mode (the authorized user is used automatically). Optional in Client Credentials mode — omit to use the system user ID.
application/json
EnvelopeIdRequiredstring
Envelope ID (required)

Request Example

{
  "EnvelopeId": "SGEV1234567890"
}

Response Parameters

EnvelopeIdOptionalstring
Envelope ID
OutEnvelopeIdOptionalstring
External business ID (returned if provided when creating, otherwise empty)
BasicInfoOptionalobject
Envelope basic info
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). When omitted, EmailSubject defaults to the envelope's EnvelopeTitle and EmailMessage is empty.
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.
StatusDetailOptionalobject
Envelope status detail
StatusOptionalstring
Envelope current status. draft; sending (async anchor resolving for large documents); sent (including delivered/viewed/partial-signed); sent_failed (async anchor resolving failed or timed out for large documents); completed; voided; declined.
draftsendingsentsent_failedcompletedvoideddeclined
CreatedAtOptionalstring(date-time)
Creation time, RFC3339 format
SentAtOptionalstring(date-time)
Sent time, RFC3339 format (empty for draft)
CompletedAtOptionalstring(date-time)
Completion time, RFC3339 format (only when completed)
VoidedAtOptionalstring(date-time)
Voided time, RFC3339 format (only when voided)
VoidReasonOptionalstring
Void reason (only when voided)
FailureReasonOptionalstring
Failure reason (only when status = `sent_failed`).
DocumentsOptionalarray<object>
Document list
DocumentIdOptionalstring
System-assigned document ID
NameOptionalstring
Document name
OrderOptionalinteger
Document display order
PageCountOptionalinteger
Document page count
DocPagesOptionalarray<object>
Document page list
PageNumberOptionalinteger
Page number (starting from 1)
WidthOptionalnumber(double)
Page width (PDF native unit)
HeightOptionalnumber(double)
Page height (PDF native unit)
SignersOptionalarray<object>
Signer list with signing status
RecipientIdOptionalstring
Recipient ID (the same value passed in the request as Signers[].RecipientId / CarbonCopies[].RecipientId; unique within the envelope, caller-generated)
NameOptionalstring
Name (required)
EmailOptionalstring
Email
SigningOrderOptionalinteger
Signing order (0 when SigningOrderType=parallel)
StatusOptionalstring
Signer status. created; sent; delivered; viewed; signed; declined; voided.
createdsentdeliveredviewedsigneddeclinedvoided
SignedAtOptionalstring(date-time)
Signing completion time, RFC3339 format (only when signed)
StatusUpdatedAtOptionalstring(date-time)
Last status update time, RFC3339 format
DeclineReasonOptionalstring
Decline reason (only when declined)
AuthenticationOptionalobject
Signer authentication settings (returned in detail)
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 ; empty = participates in all documents of this envelope
SignerSigningSettingsOptionalobject
Signer signing settings
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.
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
RecipientIdOptionalstring
Recipient ID (the same value passed in the request as Signers[].RecipientId / CarbonCopies[].RecipientId; unique within the envelope, caller-generated)
NameOptionalstring
Name (required)
EmailOptionalstring
Email
StatusOptionalstring
Carbon-copy status. created; sent; delivered; viewed.
createdsentdeliveredviewed
StatusUpdatedAtOptionalstring(date-time)
Last status update time, RFC3339 format
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
TabsOptionalarray<object>
All signing tabs of the envelope
TabIdOptionalstring
Tab ID. Provided by the client (optional); auto-generated by the system when omitted.
TabTypeOptionalstring
Tab type. API envelope creation accepts only the 12 values in `Tab.TabType`. This response may additionally contain fullName, number, email, and radioGroup from existing or console-created controls; these four values are response-only compatibility and are not accepted when creating tabs through the API. signHere=handwritten signature; stamp=stamp; initialHere=initial; dateSigned=sign date (auto-filled); fullName=full name (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); number=number; email=email; radioGroup=radio button group.
signHerestampinitialHeredateSignedfullNametextmultiLineTextcheckboxdatelistattachmentpagingStamppagingSignaturenumberemailradioGroup
RecipientIdOptionalstring
Owning signer ID
DocumentIdOptionalstring
Owning document ID
PositionOptionalobject
Tab position
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, matching the Name supplied when the tab was created; falls back to that TabLabel value when Name was omitted at creation time
TabLabelOptionalstring
Tab label, shown on the signing page as the placeholder hint for this tab
ValueOptionalstring
Preset value
RequiredOptionalboolean
Whether required
ReadOnlyOptionalboolean
Whether read-only
TooltipOptionalstring
Tooltip text
StyleOptionalobject
Font style
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
CurrentValueOptionalstring
The value actually entered / selected by the signer (applicable to text/checkbox/date)
FilledAtOptionalstring(date-time)
Tab fill time, RFC3339 format
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

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

CreatedByOptionalobject
Creator info
UserIdOptionalstring
User ID
NameOptionalstring
User name
EmailOptionalstring
User email
WatermarkOptionalobject
Watermark configuration. Null when envelope has no watermark configured.
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

Error Codes

Error CodeDescription
INVALID_REQUESTRequest body parsing failed or EnvelopeId is empty
NOT_FOUNDEnvelope does not exist
INTERNAL_ERRORInternal service error