Setup
Create an API key
Go to your Viggle Dashboard and create a key.
Example request
Security
Use environment variables
Use environment variables
Rotate keys regularly
Rotate keys regularly
Periodically rotate your API keys, especially if you suspect compromise.
Use separate keys per environment
Use separate keys per environment
Different keys for development, staging, and production.
Auth errors
If authentication fails, the API returns401 Unauthorized:
See all error codes
Full list of HTTP status codes, causes, and solutions

