👁️ SSL/Domain Monitor — API
Monitoring of SSL certificates and domain availability with notifications via Telegram (@brazya_ssl_bot), Email, and Webhook. Suitable for production use.
GET ?action=check&host=example.com
Vérifiez le certificat SSL et la disponibilité d'un domaine (sans abonnement).
curl "https://ip.brazya.ru/ssl-monitor.php?action=check&host=google.com"
POST ?action=subscribe
Abonnez-vous aux notifications d'expiration et de disponibilité SSL.
curl -X POST "https://ip.brazya.ru/ssl-monitor.php?action=subscribe" \
-H "Content-Type: application/json" \
-d '{"host":"google.com","telegram_id":123456,"threshold":14,"email":"you@example.com"}'
Paramètres :
host (required),
telegram_id or email (at least one),
threshold (days, default 30),
webhook_url (optional).
POST ?action=unsubscribe
Unsubscribe from notifications (requires host + contact).
curl -X POST "https://ip.brazya.ru/ssl-monitor.php?action=unsubscribe" \
-H "Content-Type: application/json" \
-d '{"host":"google.com","telegram_id":123456}'
GET ?action=list
Liste de mes abonnements (par email ou telegram_id).
curl "https://ip.brazya.ru/ssl-monitor.php?action=list&email=you@example.com"
GET ?action=cron&secret=CRON_SECRET
Commencez à vérifier tous les abonnements. Utilisé dans une tâche cron (une fois par jour).
curl "https://ip.brazya.ru/ssl-monitor.php?action=cron&secret=YOUR_SECRET"
The secret is stored in .htaccess as SetEnv CRON_SECRET.
📖 See also monitor.php (subscription UI) or api-docs.php (documentation for other APIs).