Skip to content
Notifications

Notifications & Alerts

ZentisLabs sends account alerts by email. Webhook delivery is not available yet - until it is, integrations can check balances through the API.

Email alerts

Low bandwidth

When a product's remaining bandwidth runs low, so you can top up (or let auto-refill do it) before traffic stops.

New invoice

When an invoice is issued for a purchase or renewal.

Server alerts

When one of your servers goes offline or reports an error.

Turn each alert on or off in your dashboard settings. Low-bandwidth and invoice emails are on for new accounts; switch on server alerts there too.

Checking balances from your code

Poll the usage endpoint with your API key - every few minutes is plenty - and act when a balance drops below your own threshold.

bash
curl https://api.zentislabs.com/api/v1/usage \
-H "X-API-Key: YOUR_API_KEY"
json
{
"success": true,
"products": {
"light": { "totalGb": 0, "usedGb": 0, "remainingGb": 0 },
"basic": { "totalGb": 10, "usedGb": 3.5, "remainingGb": 6.5 },
"advanced": { "totalGb": 0, "usedGb": 0, "remainingGb": 0 },
"mobile": { "totalGb": 5, "usedGb": 3.75, "remainingGb": 1.25 },
"datacenter": { "totalGb": 3, "usedGb": 0, "remainingGb": 3 }
},
"dataUsedMb": 7250,
"dataLimitMb": 18000,
"dataRemainingMb": 10750,
"percentUsed": 40.28,
"requestsCount": 0,
"updatedAt": "2026-09-24T12:00:00.000Z"
}

Balances are refreshed at most every 30 seconds per account.

Webhooks

Push notifications to your own HTTPS endpoint are coming soon. If you need them for an integration now, contact support@zentislabs.com.