Test and live mode
Two sets of keys, two logs, one codebase.
2 min read
Every account has a test mode and a live mode. They share nothing: apps, endpoints, events and logs created in one never show up in the other.
Test mode | Live mode | |
|---|---|---|
Key prefix |
|
|
Deliveries | Sent to real URLs, marked with a | Sent to real URLs |
Retries | 3 attempts over 10 minutes | 8 attempts over 36 hours |
Billing | Free, up to 10,000 events a month | Counted toward your plan |
Switching
Your code does not change. Read the key from an environment variable and set a different value in each environment.
Test mode still sends real HTTP requests. Point test endpoints at URLs you control.
Something missing or wrong on this page? Tell us at support@sluicehq.dev and we will fix it.