Sandbox
Build and test your integration end to end against synthetic creators, fans and purchases — nothing reaches a real person and no money moves.
A sandbox application works exactly like a live one — the same endpoints, the same tokens, the same events — but it can act only for synthetic creators in your agency’s sandbox. You can make their synthetic fans write messages, unlock pay-per-view messages, tip, subscribe and place orders, and watch the events arrive just as they will in live.
Synthetic creators are created for your agency’s sandbox by the agency owner or a team lead — never by an application. Ask them to set some up before you start.
Sandbox and live applications
You choose the environment when you create the application in the Partner Hub (Integrations → Applications → New application, step Environment). It cannot be changed later.
Everything else is the same: requesting tokens, scopes and grants, rate limits and every API call you make.
The two worlds never meet
EVVA checks the application’s environment against the creator’s on every request:
The same rule decides which events your application receives, through the event feed, realtime and webhooks alike. A creator that no grant reaches is refused with 403 NOT_ASSIGNED first, whatever their world.
Synthetic creators
Synthetic creators are created for your agency’s sandbox by your agency — the agency owner or a team lead — never by an application. Each one is:
- an account with no password or other sign-in credential, at a reserved
example.testaddress that can never receive mail; - withheld from every public surface of EVVA, so no real fan ever sees it;
- closed to custom requests, and to messages and orders from anyone but its own synthetic followers;
- linked to your agency by a synthetic consent;
- created with three synthetic fans, each following the creator and holding a conversation with a short message history.
Synthetic creators are easy to recognise: their handles start with sbx_, their display names with Sandbox (for example Sandbox Amber Otter 1), and their fans’ names with Sandbox Fan. They are generated from a seed, so the same seed always produces the same content.
Granting them
Nothing is granted automatically. Grant synthetic creators to your sandbox application exactly as you would grant real ones: Integrations → Applications → your application → Permissions & creators → Grant access. Your application then sees them in GET /partner/v1/accounts — the only creators a sandbox token ever sees.
Resetting the sandbox
Your agency can reset its sandbox to start over. A reset ends the synthetic consent of every current synthetic creator, so no application and no staff member can reach them any more; nothing is deleted, and they never become live accounts. New synthetic creators get new IDs — the same seed reproduces the same content under them. Grants that named the old creators reach nothing: grant the new ones.
Simulating buyer actions
A sandbox application can make a synthetic fan act, with one call per kind of action — a POST to
https://api.evvahub.com/partner/v1/sandbox/creators/{creatorId}/simulate/<kind>:
The scope is the one under which the resulting events are visible, so an application can simulate only what it is allowed to observe. The application needs that scope for the synthetic creator, through a grant, like any other operation.
ppv.purchased, tip.received and order.paid are facts about money. As for a real purchase, your application receives them only when its access also covers read:revenue. The simulation itself does not need that scope.
Send an Idempotency-Key header (up to 128 printable characters) to make a retry safe: the same key returns the first outcome and records nothing again.
A simulation answers 201 Created when it recorded something, and 200 OK when the same Idempotency-Key had already been used:
Then read what happened exactly as you will in live — for example from the event feed — and answer through the real API. Every event the simulator records carries data.sandbox: true.
Simulator errors
What the sandbox never does
- No money moves. Unlocks, tips, subscriptions and orders are simulated: no payment, order, ledger, billing, payout or entitlement record is ever written.
- No real person is reached. Synthetic creators and fans have no credentials, their addresses cannot receive mail, and they are invisible to everyone outside your agency’s sandbox.
- No live data is used. A sandbox token can never read or act for a real creator.
Limits
The sandbox cannot exhaust shared resources. Its budgets are counted per agency, shared by all of your sandbox applications and staff:
Media and posts for synthetic creators are created by your application through the real API and go through the real processing, but stay confined to the sandbox. SANDBOX_QUOTA_REACHED names the exhausted budget and includes used and limit. Sandbox media never counts against a creator’s own storage.
Which message can ppv-unlock unlock?
Only a locked pay-per-view message that the synthetic creator sent in one of its own conversations. A synthetic creator’s starting history holds plain messages only, so there is nothing to unlock until the creator has sent a paid message.
Can I move a sandbox application to live?
No. The environment is fixed when the application is created. Create a separate live application when you are ready; it starts in review and gets its own evpc_live_ credentials.
Why don't the REST order reads return a simulated order?
The order exists only in memory: it is never stored and never charged. The simulator records the order.paid a real paid custom-request order records, and your application receives it only when its access covers both read:orders and read:revenue.
