Learn about available API environments.
The Glede Sandbox environment is a free and fully-featured environment for application development and testing. Nearly all of the Glede API is supported in the Sandbox environment.
Glede API users typically develop their applications against the Sandbox environment, and then switch their credentials to production when they are ready to go live.
Data is not shared between Sandbox and Production environments.
Using the Sandbox environment
Domain
The Sandbox and Production environments use different URLs, and newly issued API keys for each environment are prefixed to help differentiate them.
Environment | URL | API Key prefix |
---|---|---|
Sandbox | www.sandbox.api.glede.app | sk-dev- |
Production | www.api.glede.app | sk-prod- |
A full request made to the Sandbox environment with curl would look like this:
curl --url 'https://sandbox.api.glede.app/v1/ping' \
--header 'Authorization: Bearer YOUR-API-KEY'
Sandbox environment behavior
Send as many gifts as you want 🎁
Every Sandbox is automatically setup for commercial invoicing. Feel free to send as many gifts as you want. You still need to provide an invoiceEmail
, but an invoice will not be sent to in the Sandbox environment, so you can simply set your own email address here in development.
Redemption experience
You can open the gift card received by email in the Sandbox environment, but you can not spend it.
You will not receive text messages in the Sandbox environment, so please send gifts by email.