How the environment is selected
- You create a sandbox or live Org-API-Key in the portal.
- Your backend exchanges that key for a member token. The token carries the environment.
- The SDK’s
environmentoption is declarative - it labels the credential (and appears in theUser-Agent) but does not change the host. Set it to match the key you used so the two never disagree.
A sandbox key cannot read live data and vice versa. If you see empty results or
403s, confirm the key’s environment matches the environment you configured.Configuring the environment
Base URL
The canonical host ishttps://api.expys.com - the default in all three SDKs.
You can point at a different deployment with the baseUrl option. See the
configuration reference.