Overview
Test mode lets you build and verify your DocuTrust integration without creating real submissions, sending actual emails to signers, or counting against your plan’s monthly quotas. When test mode is active, all API operations behave identically to production, but the data is isolated and clearly marked as test data.What Test Mode Does
Test mode uses the same templates as live mode. Changes to templates affect both modes. Only submissions and their associated data are isolated.
Enabling Test Mode
Toggle test mode on or off with a single API call. The setting applies account-wide and takes effect immediately for all API tokens.Enable Test Mode
Disable Test Mode
Check Current Mode
How Test Mode Affects Submissions
Creating Submissions
When test mode is active, submissions created via the API include atest flag:
Test submission slugs are prefixed with
test_ to make them easily identifiable. Signing URLs for test submissions also contain the test_ prefix.Emails
No emails are sent to submitters during test mode. Instead, the API response includes thesigning_url directly so you can open the form yourself. Email delivery events are simulated in webhook payloads for testing your webhook handler.
Signed Documents
Test mode generates real PDF documents so you can verify your document processing pipeline, but each page includes a diagonal “TEST DOCUMENT - NOT LEGALLY BINDING” watermark. Test documents are not suitable for legal or compliance purposes.Webhooks in Test Mode
Webhooks are delivered normally during test mode, with an additional"test": true field in the payload:
Switching Between Test and Live
Before Going Live
Use this checklist to verify your integration is ready for production:1
Verify webhook handling
Confirm your webhook endpoint correctly receives, verifies (HMAC signature), and processes all event types you subscribe to. Check that your handler is idempotent.
2
Test the complete signing flow
Create a test submission, open the signing URL, fill out all fields, and submit. Verify the resulting PDF, webhook deliveries, and any downstream processing.
3
Verify error handling
Intentionally trigger errors (invalid template ID, missing required fields, expired submission) and confirm your integration handles them gracefully.
4
Disable test mode
Call
PUT /api/settings/test_mode with {"enabled": false} to switch to live mode.5
Monitor your first live submissions
Watch the dashboard and webhook logs for the first few live submissions to confirm everything works as expected.
Data Isolation
Test and live data are fully isolated:- Dashboard filtering. The DocuTrust dashboard includes a mode toggle to view test or live submissions independently.
- API filtering. List endpoints accept an optional
testquery parameter to filter results by mode. When omitted, only live submissions are returned. - No cross-contamination. Test submissions never appear in live reports, exports, or compliance audit logs.