Developers / Sandbox
A full copy of the workspace where nothing is real.
Every account includes a sandbox with test ad accounts, social channels and seeded leads. Build and break things freely — nothing spends budget, publishes content or contacts a real customer.
const buziness = new Buziness(process.env.BUZINESS_TEST_KEY)
const campaign = await buziness.campaigns.publish(
"cmp_test_seasonal"
)
console.log(campaign.status)
const insights = await buziness.campaigns.insights(campaign.id)
console.log(insights.leads)Nothing goes live
Test campaigns never reach Meta or Google, test posts never reach a feed and test leads never get an email.
Realistic data
Seeded campaigns, simulated delivery and leads across every pipeline stage, so your UI and reports have something to show.
Reset any time
Wipe the sandbox back to its starting state from the dashboard or the CLI whenever a test run gets messy.
What's in the sandbox. Fixtures and magic values for every scenario.
- Adsact_test_metaTest Meta ad account with simulated delivery
- Adsact_test_googleTest Google Ads account with every campaign type
- Adscmp_test_rejectedPublishing returns an ad.rejected event
- Postschn_test_instagramPosts are marked published without going live
- Postschn_test_expiredPublishing fails with an expired-token error
- Leadslead_test_*200 seeded leads across every stage and source
Start testing. Switch modes, not code.
- 01
Switch to test mode
Toggle test mode in the dashboard to see the sandbox exactly as your integration sees it.
- 02
Use your test key
Test keys start with bz_test_ and can only read and write sandbox data.
- 03
Reset when you're done
Restore the fixtures in one command before your next run.
terminal buziness sandbox reset
Ready to start building?
Get an API key, follow the quickstart and send your first request in minutes.