Slack and Discord alerts
ValidationCheck can post account alerts straight into a channel: credits running low, running out, or arriving.
- In Slack, open Apps → Incoming Webhooks (or create a Slack app and turn on Incoming Webhooks), pick a channel, and copy the
https://hooks.slack.com/services/…URL. - In the dashboard, open Webhooks → Add endpoint, paste the URL, and choose the events. Send as is set to Slack message automatically.
- Open the endpoint and press Send test event. A test message appears in the channel.
Discord
Section titled “Discord”- In Discord, open the channel’s Settings → Integrations → Webhooks → New Webhook, then Copy Webhook URL.
- Add it under Webhooks in the dashboard; Send as becomes Discord message.
- Press Send test event to check it.
What the messages look like
Section titled “What the messages look like”| Event | Message |
|---|---|
credits.low |
⚠️ Acme: ValidationCheck credits are below 25%. 4,820 left of 20,000 a month. Top up: … |
credits.depleted |
🛑 Acme is out of ValidationCheck credits. Live lookups return 402 until credits arrive: … |
credits.added |
✅ Acme: 20,000 ValidationCheck credits added (plan). Balance: 20,484. |
Mentions are turned off, so an alert can never ping @everyone. Chat webhooks aren’t signed; keep the URL private, since anyone who has it can post to the channel. Failed posts are retried like any webhook.
You can also add one with the API: POST /v1/webhook-endpoints with the Slack or Discord URL; format is detected from the URL.