The Tremendous sandbox environment is a free and fully-featured environment for application development and testing. Nearly all of the Tremendous API is supported in the sandbox environment.
Tremendous API users typically develop their applications against the sandbox environment, and then switch their credentials to production when they are ready to go live.
The sandbox and production environments use different URLs, and newly issued API keys for each environment are prefixed to help differentiate them.
A full request made to the sandbox environment with curl would look like this:
curl --url 'https://testflight.tremendous.com/api/v2/orders'\ --header 'Authorization: Bearer TEST_some-api-key-string'
To create a sandbox account, visit https://testflight.tremendous.com. Note that data is not shared between the sandbox and production environment.
To generate an API key, log in to the sandbox dashboard. Then find the API key at Team Settings > Developers
Every sandbox account comes with $5,000 USD in pre-funded balance. You can use this balance to send test orders and rewards through the API.
Your sandbox balance is replenished on a daily basis. Don't spend it all in one place.
The following credit card numbers can be used to simulate behavior in the sandbox environment:
Declined / Failed
Sandbox email deliveries can only be sent to specific email addresses.
Email deliveries are permitted to emails on the domain associated with your team account. For example, if your team account is associated with the domain
example.com, reward emails can be sent to
[email protected] or
Email deliveries are also permitted to users associated with your team, even if they are not on the team's domain. You can see a list of users by logging into your account, and visiting Team Settings > Users.
Similarly, in the sandbox, all SMSs will be redirected to the phone number provided during the registration process. If you'd like to change this number for testing purposes, please contact developer support.
Nearly all of a reward recipient’s experience is available in the sandbox environment.
There are some products where Tremendous redirects a recipient to a partner site, or relies on a partner to email a recipient their reward. These portions of the experience are not available in the sandbox environment.