Create Alert
Create an Alert in a Tenderly project.
Learn more about the different types of Alert triggers.
Authorizations
An API key is a token that a client provides when making API calls. Send it as the X-Access-Key request header on any endpoint:
Learn how to generate API access tokens at Tenderly Docs.
Path Parameters
Account slug of the user
Project slug of the account
Body
Create alert payload
A name of the alert.
"Failed transaction in Contract XYZ"
Alert type.
successful_tx, failed_tx, allowlisted_callers, blocklisted_callers, log_emitted, erc20_transfer_log_emitted, emitted_log_parameter, function_called, called_function_parameter, state_change, eth_balance, tx_value, view_function "failed_tx"
List of conditions that trigger the alert when met
Defines a specific condition to monitor on the blockchain
- Option 1
- Option 2
- Option 3
List of notification channels where alerts will be sent
Alert description.
"This alert tracks failed transactions on Mainnet"
Hex color indicating the severity of the alert. It can be one of the following severity types:
- Default: #eeeeee
- Info: #34ace0
- Warning: #ffda79
- Danger: #ff5252
- Success: #33d9b2
#eeeeee, #34ace0, #ffda79, #ff5252, #33d9b2 "#eeeeee"
Whether the alert is currently active and monitoring
true
Response
A successful response.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
Extended alert information returned by the API
Alert object containing all details of the created alert