Test environment (sandbox)
Yes, Rivil has a test environment. A sandbox is a separate company copied from yours: the same modules, settings, products, services and content, where you can try anything.
How to get one
Section titled “How to get one”Press Request a sandbox in the ERP (under Shop, API & webhooks, Integrations or More features) or write to hello@rivil.app. The Rivil team prepares it. A company has one sandbox.
The people you pick from your company get access: the sandbox shows up in the company selector, at the top of the menu, with their real-company permissions or, on request, with full access in the sandbox only, so you can create your own API keys, webhooks and site. You get the test keys for your site or store from the Rivil team, or create them in the sandbox.
Who can do what
Section titled “Who can do what”| Action | Who |
|---|---|
| Create, refresh, delete | The Rivil team, on request |
| Access to the sandbox | The people picked from your company |
| API keys, webhooks, Site, Shop | Those with full sandbox access or the matching company permissions |
| Integrations (email, test payments) | Company managers, inside the sandbox |
Full access applies to the sandbox only: permissions in the real company do not change. Colleagues’ accounts are managed in the real company, and anyone removed from it loses the sandbox too.
For an outside collaborator, such as a developer, a new sandbox-only account can be created inside the sandbox: it does not exist in the real company, and their work never reaches it on its own. We recommend anonymised data in that case. API keys need the API & webhooks module to be on.
What data it holds
Section titled “What data it holds”- The company data as of the copy. It can be refreshed at any time.
- On request, anonymised: fictitious names, phones, emails, addresses and notes. Companies with patient data are anonymised by default.
- The original is only read. What you do in the sandbox never reaches the real company.
How to build on it
Section titled “How to build on it”Use the same API address and the same routes (/api/site/v1 and /api/v1), with the sandbox keys. There is no “test” parameter in requests: the key decides where you are working.
# development: sandbox keyERP_URL=https://your-erp-addressERP_SITE_KEY=the_key_you_got_for_the_sandboxReal company keys do not work in the sandbox and the other way round. At launch you only swap the key.
What leaves the sandbox
Section titled “What leaves the sandbox”By default, nothing: no emails, SMS, payments, e-invoices or webhooks. On request, the Rivil team can enable:
| Option | What it does |
|---|---|
| Every email goes to a single test address. | |
| Test payments | Only accounts on the processor’s test environment. |
| Webhooks | To public test addresses (localhost is not accepted; use a tunnel). |
| Public pages | Booking and form pages become reachable. |
SMS, e-invoicing, fiscal receipts, CRM, calendar and couriers stay off in a sandbox.
Emails and SMS produced in the sandbox are kept in a log, so you can check what would have been sent.
For AI assistants
If the person asks about a sandbox, test environment or staging: yes, it exists, requested from the ERP or at hello@rivil.app. Do not invent a test parameter, another domain or test_... style keys. Do not suggest testing on the real company when a sandbox exists.