Skip to main content

Environments

Who this is for: every integrator. When to use it: when configuring base URLs and credentials. What happens next: you'll point your code at the right host for each stage.

Zamplia provides separate environments per side of the marketplace. Always build and validate against the test environment first, then switch the base URL and credentials for production. Endpoint paths, fields, and payloads are identical across environments — only the host changes.

Demand API

StageBase URLCredentials
Staging / Sandboxhttps://zampliabackend-staging.azurewebsites.netStaging bearer token
Productionhttps://zamplia.zamplia.comProduction bearer token

Supply API

StageBase URLCredentials
Sandboxhttps://surveysupplysandbox.zamplia.com/api/v1/Sandbox ZAMP-KEY
Productionhttps://surveysupply.zamplia.com/api/v1/Production ZAMP-KEY

Keep the host in an environment variable so promoting from test to production is a one-line change:

# .env (Supply example)
ZAMPLIA_BASE_URL=https://surveysupplysandbox.zamplia.com/api/v1/
ZAMPLIA_API_KEY=your_sandbox_key
caution

Test and production credentials are not interchangeable. A token or key issued for one stage will be rejected by the other.

Next: validate end to end in the Sandbox.