Environments

Sandbox and production hosts, and which allowance a call uses.

Within Greenspark you can choose between our sandbox and production environments by changing the base URL.

Your API keys and Custom Integrations are available in both environments.

Calls made with a Private API key count against a monthly allowance. Send x-sandbox: true to count the call against the sandbox allowance, which is half the production allowance, rounded up. Without that header the call counts against the production allowance. A call past the allowance returns 422 with message MAX_API_CALLS_REACHED and resetsAt. See Rate Limiting.

Environment Overview

Demo: https://demo-api.getgreenspark.com

  • Build and test new integrations without affecting your production environment.
  • The Reporting API shows demo data only.

Sandbox: https://sandbox.getgreenspark.com

  • Build and test new integrations without affecting your production environment.
  • The Reporting API shows sandbox data only.
  • Count these calls against the sandbox allowance by sending x-sandbox: true.

Production: https://api.getgreenspark.com

  • This is the live system for your production environment.
  • Calls count against the full monthly allowance. Impact you create here is live.
  • The Reporting API shows production data only.