Redirect URL
Redirect signers to a custom URL after they complete the signing process. This allows you to guide users back to your application with context about the signed document.Overview
When a signer completes signing, sajn can automatically redirect them to a URL you specify. The redirect URL supports placeholders that are replaced with actual values, allowing you to track which document and signer completed the process.API Parameters
Configure redirects when creating or updating a document using these parameters indocumentMeta:
| Parameter | Type | Description |
|---|---|---|
redirectEnabled | boolean | Enable or disable redirect after signing |
redirectUrl | string | The URL to redirect signers to |
Placeholders
Your redirect URL can include placeholders that sajn replaces with actual values:| Placeholder | Replaced With |
|---|---|
{documentId} | The document’s unique identifier |
{signerId} | The signer’s unique identifier |
Example
Creating a Document with Redirect
Resulting Redirect
After John signs, he will be redirected to:Use Cases
Thank You Page
Redirect to a confirmation page:Next Steps Workflow
Guide users to the next step in your process:CRM Integration
Update your CRM with signing status:Updating an Existing Document
You can also enable redirects on an existing document:Handling the Redirect
On your redirect endpoint, you can use the query parameters to look up the document and signer:Next Steps
Embedding
Embed signing in your app
Webhooks
Server-side event notifications

