Getting an API Key
- Create an account at cuey.dev/dashboard
- Go to team settings
- Generate an API key
Never commit your API key to version control. Use environment variables.
Using the API Key
Include your API key in the Authorization header:
Authorization: Bearer <your-api-key>
curl -X GET https://cuey.dev/api/v1/crons \
-H "Authorization: Bearer your-api-key-here"
Invalid API Key
Invalid or missing API keys return 401 Unauthorized:
{
"error": {
"message": "Unauthorized. Invalid or missing API key.",
"code": "UNAUTHORIZED"
}
}
Team Isolation
API keys are scoped to teams. You can only access resources belonging to your team.