Learn how to authenticate with the Cronhost API using API keys
x-api-key
x-api-key: your-api-key-here
curl -X GET "https://cronho.st/api/v1/schedules" \ -H "x-api-key: your-api-key-here" \ -H "Content-Type: application/json"
{ "error": { "message": "API key is required", "code": "MISSING_API_KEY" } }
401 Unauthorized
{ "error": { "message": "Invalid API key", "code": "INVALID_API_KEY" } }
{ "error": { "message": "API key has expired", "code": "EXPIRED_API_KEY" } }
CRONHOST_API_KEY=your-api-key-here