Alert rules
Subscribe to an alert rule
PUT
Subscribes the signed-in user to email notifications from an alert rule.
cookiecookie
better-auth.session_token<token>Dashboard session cookie
id*stringapplication/json- response
subscribed*booleancurl -X PUT 'https://api.example.com/api/v1/alert-rules/string/subscription'Example Response
{
"subscribed": true
}