API Key Authentication
All API requests must include your API key in theX-API-Key header.
Getting an API Key
Log in to SPHUD
Sign in as an MSP Admin at dashboard.sphud.com
Example Request
Error Responses
| Status Code | Description |
|---|---|
401 | API key is missing, invalid, revoked, or expired |
403 | API key doesn’t have permission for this operation |
Best Practices
Keep Keys Secure- Never commit API keys to version control
- Use environment variables in your code
- Rotate keys periodically
- Name keys by their purpose: “N8N Production Sync”, “Dev Testing”
- Makes it easier to manage and revoke specific integrations
- Check your API key usage in settings
- Revoke unused keys
- Create separate keys for different integrations
