Test Mode

Test mode lets you safely integrate bzzz without sending real notifications to your subscribers.

How it works

Generate a test API key from Dashboard > Settings > API Keys. Test keys have the prefix bzzz_test_.

When you use a test key:

When to use test mode

Switching to production

Replace your test key with a live key (bzzz_live_). No other code changes needed. The request format is identical.

bash
# Test
curl -X POST https://api.bzzz.sh/v1/notify \
  -H "Authorization: Bearer bzzz_test_abc123..." \
  -d '{ "body": "Test notification", "target": "all" }'

# Production (same request, different key)
curl -X POST https://api.bzzz.sh/v1/notify \
  -H "Authorization: Bearer bzzz_live_def456..." \
  -d '{ "body": "Real notification", "target": "all" }'