curl "https://kodostatus.com/api/v1/domain-monitors" \
-H "X-API-Key: your_api_key"
{
"domain_monitors": [
{
"id": "dom_abc123",
"domain": "example.com",
"alert_days": 60,
"enabled": true,
"last_checked_at": "2024-01-15T10:30:00Z",
"registration": {
"registrar": "Cloudflare, Inc.",
"created_date": "2020-01-15T00:00:00Z",
"expiry_date": "2025-01-15T00:00:00Z",
"days_until_expiry": 365,
"nameservers": ["ns1.cloudflare.com", "ns2.cloudflare.com"]
},
"service_id": null,
"created_at": "2024-01-01T00:00:00Z"
}
]
}
Retrieve all domain expiration monitors for your organization
curl "https://kodostatus.com/api/v1/domain-monitors" \
-H "X-API-Key: your_api_key"
{
"domain_monitors": [
{
"id": "dom_abc123",
"domain": "example.com",
"alert_days": 60,
"enabled": true,
"last_checked_at": "2024-01-15T10:30:00Z",
"registration": {
"registrar": "Cloudflare, Inc.",
"created_date": "2020-01-15T00:00:00Z",
"expiry_date": "2025-01-15T00:00:00Z",
"days_until_expiry": 365,
"nameservers": ["ns1.cloudflare.com", "ns2.cloudflare.com"]
},
"service_id": null,
"created_at": "2024-01-01T00:00:00Z"
}
]
}
Show Domain Monitor Object
curl "https://kodostatus.com/api/v1/domain-monitors" \
-H "X-API-Key: your_api_key"
{
"domain_monitors": [
{
"id": "dom_abc123",
"domain": "example.com",
"alert_days": 60,
"enabled": true,
"last_checked_at": "2024-01-15T10:30:00Z",
"registration": {
"registrar": "Cloudflare, Inc.",
"created_date": "2020-01-15T00:00:00Z",
"expiry_date": "2025-01-15T00:00:00Z",
"days_until_expiry": 365,
"nameservers": ["ns1.cloudflare.com", "ns2.cloudflare.com"]
},
"service_id": null,
"created_at": "2024-01-01T00:00:00Z"
}
]
}