Notifications
Test notification method
Changed onValidate that the provided parameters allow sending a test notification.
Email: value=recipient email address. Slack: Incoming Webhook URL. Telegram: value=bot token, second_value=chat_id. Discord: Webhook URL. Webhook: sends a JSON payload to the provided URL.
post/notification_methods/test
Request
- Base URLhttps://api.leakradar.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"type": "email",
"value": "alerts@example.com"
}Response
Test notification sent successfully.
unknown required
Changes
- info
added the new optional request property
- info