Skip to content
Developer API

Sandbox & Testing

Use the sandbox environment to test your integration with simulated documents, signers, and events.

Last updated April 14, 2026

Overview

The sandbox environment is a full copy of the ZiaSign API that uses test data. Use it to develop and test your integration before going live.

Sandbox vs. Production

FeatureSandboxProduction
Base URLhttps://sandbox.ziasign.com/api/v1https://api.ziasign.com/api/v1
API KeysSeparate sandbox keysProduction keys
DocumentsTest documentsProduction documents
EmailsNot delivered to real recipientsDelivered to real recipients
WebhooksDelivered with sandbox: true flagDelivered without flag
Rate LimitsSame as your planSame as your plan
Data HandlingReview current sandbox documentationReview current product documentation

Getting Started

  1. Go to Dashboard → Developer APIs → Credentials tab
  2. Toggle the Sandbox switch
  3. Create a sandbox API key
  4. Use https://sandbox.ziasign.com/api/v1 as your base URL

Test Signers

In the sandbox, send documents to any email address ending in @sandbox.ziasign.com:


Auto-Sign

Simulate a signer completing their fields instantly:


This triggers the full signing flow: the document status changes, audit trail entries are created, and webhook events fire.

Testing Webhooks

  1. Register a webhook endpoint (use a tool like webhook.site for quick testing)
  2. Create and send a document in the sandbox
  3. Use auto-sign to trigger signing events
  4. Verify your endpoint receives the correct payloads

Sandbox webhook payloads include an extra field:


Test Payments

When testing billing integration in the sandbox, ZiaSign uses Razorpay as the payment gateway. In sandbox mode, Razorpay provides a test checkout that simulates various payment scenarios:

  • Card — Use Razorpay's test card numbers (see Razorpay Test Cards)
  • UPI — Use success@razorpay for successful payments or failure@razorpay for failures
  • Netbanking / Wallet — Select any option and choose success or failure on the test page

Note: Sandbox payments are never charged. All transactions are simulated.

Going Live Checklist

Before switching to production:

  • Replace sandbox base URL with production URL
  • Generate production API keys
  • Verify webhook signature verification is working
  • Test error handling for rate limits and timeouts
  • Review API key scopes — use minimum required permissions
  • Remove any test/sandbox references from your code

Frequently asked questions

Is the sandbox available to test integrations?

Use the sandbox with test data to validate your integration. Check the current product documentation for availability and limits.

Can I test webhooks in the sandbox?

Yes. Sandbox events trigger webhook deliveries to your registered endpoints, using the same payloads as production with a 'sandbox' flag.

How do I simulate signing?

Send a document to a sandbox email (any @sandbox.ziasign.com address). Use the auto-sign API endpoint to simulate the signer completing their fields instantly.

Related documentation