Notifications
Create notification method
Changed onCreate a new notification method for the current account.
Body fields
- type one of: email, slack, telegram, webhook, discord.
- name optional label (max 100 characters) telling channels of the same type apart.
- value string. For Slack/Discord use the webhook URL. For Telegram use the bot token.
- second_value optional. Required for Telegram (chat_id).
Response Object with id, type, name, value, second_value, timestamp.
post/notification_methods
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
Method created successfully.
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info