Get Embedded Page URL
Exchange an access token for an embedded page URL. Open the returned Url in a WebView to let the user initiate signing or view their contract list — no additional authentication is needed inside the WebView.
OperateType values:
| OperateType | Embedded Page Content | OperateParam Parameters |
|---|---|---|
request_signatures | Initiate signing (3-step flow: set recipients → place signature areas → send) | FileIds (required), CanEditFiles (optional), Lang (optional) |
signature_status | Contract list for the current user's Space | Lang (optional) |
FileIds obtained from POST /openapi/v1/files/upload, must be within 24-hour validity, and must be in PDF format. Non-PDF files must be converted via POST /openapi/v1/files/convert-tasks first.
After the user completes the flow (request_signatures): The embedded page shows a success screen with View Envelope and Envelope List buttons. Both navigate within the WebView — no page jump out of your app.
URL validity: The returned Url (containing the embedded token) is valid for 12 hours. Do not cache it for reuse — request a fresh URL each time.
Request Parameters
Response Parameters
Error Codes
| Error Code | Description |
|---|---|
INVALID_REQUEST | Missing or invalid parameters (e.g. OperateType not supported, FileIds empty for request_signatures) |
OPENAPI.EMBEDDED_FILE_MUST_BE_PDF | The file corresponding to FileId is not in PDF format. Call POST /openapi/v1/files/convert-tasks to convert it to PDF first |
UNAUTHORIZED | access_token missing, invalid, or expired |
INTERNAL_ERROR | Internal server error |