Get API Key
How to obtain API keys for sandbox and production environments
To use the WattShift API, you’ll need to obtain API keys for your chosen environment. Follow the instructions below based on whether you’re using the sandbox or production environment.
Sandbox Environment
For testing and development purposes, use the sandbox environment:
- Navigate to https://partner-sandbox.wattshift.com/
- Signup / Log in to your sandbox account
- Click on the Keys menu in the navigation
- Generate your sandbox API keys
Sandbox API keys are for testing purposes only and should not be used in production applications.
Production Environment
For production applications, use the production environment:
- Navigate to https://partner.wattshift.com/
- Signup / Log in to your production account
- Click on the Keys menu in the navigation
- Generate your production API keys
Production API keys have access to real user data and should be kept secure. Never commit API keys to version control or share them publicly.
Using Your API Keys
Once you have your API keys, you can use them to authenticate your API calls as shown in the authentication guide.
Make sure to use the correct base URL for your environment as described in the environments guide.