Skip to main content

Setup

Create an API key

Go to your Viggle Dashboard and create a key.

Add the header to every request

Example request

Security

Keep your API key secure. Never expose it in client-side code or public repositories. Use server-side applications only.
Periodically rotate your API keys, especially if you suspect compromise.
Different keys for development, staging, and production.

Auth errors

If authentication fails, the API returns 401 Unauthorized:

See all error codes

Full list of HTTP status codes, causes, and solutions