The Sandbox environment uses real API endpoints but with simulated data - perfect for testing your
integration before going to production.
Access
Your organization’s API access key and secret are created by Tesouro and shared with you. To receive access:- Have your designated team lead submit your access request here (external site managed by Tesouro)
- Tesouro will email you an API access key and secret that will require passwordless authentication via email address.
Create and authenticate your JWT
Create a JWT, then add it to the header of your call to query the Tesouro Sandbox environment.Authentication Request
Authentication Response
Example Request
Example Response
For production, use
https://api.tesouro.com instead of
https://api.sandbox.tesouro.com with production credentials