Test mode and the simulator
Every account has two separate sets of data: test and live. Test keys only see test data, live keys only see live data.
Test and live
| Test | Live | |
|---|---|---|
| Key prefix | sk_test_ | sk_live_ |
| Cost | Free | Counted against your plan |
| Sealing and timestamps | The same as live | Real |
| Evidential value | None. Every record and PDF says it is a test. | Yes |
| Simulator | Available | Not available |
| Webhook URLs | Separate endpoints per mode | Separate endpoints per mode |
The simulator
POST /v1/requests/{id}/simulate fills every remaining photo of an open test request with a sample image that fits its template (cars for motor claims, parcels for deliveries and so on), a location in Cairo and a device marked Test simulator.
The photos are sealed by the same worker as real ones, so you receive request.opened, one capture.sealed per photo and request.completed, exactly as in production. The response lists the new capture IDs.
You can also press Simulate capture on any open test request in the dashboard.
Testing with a real phone
Test links work on real phones too. Open the link on a phone, allow camera and location, and take the photos. This is the best way to see what your customers will see.