Authentication
All API requests require a valid API key sent as a Bearer token in theAuthorization header.
Getting your API key
- Log in to CatchTheGoodOnes
- Go to Dashboard - API Key
- Click Generate API Key
- Copy your key immediately - it is only shown once
ctgo_ so you can identify them in your configuration.
Using your API key
Include your key in theAuthorization header of every request:
Key management
You can manage your API key from the API Key page in your dashboard:- Regenerate - Creates a new key and immediately invalidates the old one
- Revoke - Permanently disables the key. You can generate a new one at any time.
Error responses
If your key is missing, malformed, or revoked, the API returns a401 status: