Overview
Embedded signing lets your users sign documents without leaving your application. Instead of receiving an email link, the signing experience appears directly within your product.
Integration Methods
1. JavaScript SDK (Recommended)
Install the SDK:
Create a signing session and embed it:
2. Generate Signing URL (Server-Side)
Your backend requests a signing URL from the ZiaSign API:
3. iframe Embed
For simpler integrations, use an iframe directly:
Note: The JavaScript SDK is preferred over raw iframes because it handles responsive resizing, cross-origin communication, and event callbacks.
Events
The SDK and iframe both emit events via postMessage:
| Event | Data | Description |
|---|---|---|
ziasign:ready | {} | Signing interface loaded |
ziasign:signed | { signerEmail } | Signer completed their fields |
ziasign:declined | { reason } | Signer declined to sign |
ziasign:completed | { documentId } | All signers completed |
ziasign:error | { code, message } | An error occurred |
Redirect Mode
Instead of embedding, you can redirect users to ZiaSign and back:
- Generate a signing URL with a
redirectUrlparameter - Redirect your user to the signing URL
- After signing, ZiaSign redirects back to your
redirectUrlwith the result
https://your-app.com/signing-complete?documentId=doc_abc123&status=completed&signerEmail=user@example.com
Frequently asked questions
Can I customize the embedded signing UI?
Yes. You can set your brand colors, logo, and hide ZiaSign branding (Business+ plans). The JavaScript SDK offers extensive customization options.
Is embedded signing secure?
Yes. Embedded signing uses the same security infrastructure as the standard experience: TLS 1.3, AES-256 encryption, and tamper-evident audit trails.
What plans support embedded signing?
Embedded signing is available on Professional plans and above. White-label (ZiaSign branding removed) requires a Business or Enterprise plan.
Related documentation
API Authentication
Authenticate your API requests using API keys with HMAC-SHA256 request signing for maximum security.
Documents API
Create, send, retrieve, download, and manage documents programmatically via the REST API.
Webhooks
Receive real-time HTTP notifications when documents are viewed, signed, completed, or declined.