The sandbox: build without emailing real people
Test-mode keys create real envelopes that never reach a real inbox. What differs, what does not, and what it costs.
Test mode lets you build and test an integration without emailing or texting anyone. A Test API key makes real envelopes that never reach a real inbox, and hands you the signing links instead.
Get a test key
Open API & webhooks, click + Create key, and choose Test instead of Live. The key starts sk_test_ and carries a sandbox pill in the key list. OAuth applications have the same Live / Test choice. See API keys.
What is different
- No email or text is sent. Invitations, reminders, completion copies and notices to the sender are all held back.
- The signing links come back to you. When you create and send in one call, the response includes
sign_urls, a list ofname,emailandsign_url, and"sandbox": true. Open a link to run the signing yourself. If you send a saved draft later, ask for a link withPOST /envelopes/{id}/recipients/{recipient_id}/signing-link. - Test and live are walled off. A test key cannot read, send, void or download a live envelope, and a live key cannot touch a test one. They look like "envelope not found" to each other.
What is the same
Everything else. Routing, fields, validation, sealing, the audit trail and the sealed PDF all work as normal, and webhooks fire exactly as they do for live envelopes. If you connected Slack or Teams, test envelopes post there too.
What to keep in mind
Give test envelopes a title you will recognise, such as "TEST - Service agreement", and keep your test volume modest on small plans.
A typical test run
- Create a test key.
- Create and send an envelope with the REST API using that key.
- Read
sign_urlsfrom the response and open the link. - Sign, and watch your webhook endpoint receive
recipient.signedandenvelope.completed. - Download the sealed PDF and read the audit trail through the API.
When you are ready, create a Live key and change nothing else.