Alerts

Create an alert destination

Saves an encrypted SMS number, Slack incoming webhook, or Microsoft Teams workflow webhook for reuse across alert rules.

post/api/v1/alert-destinations

Request

  • Base URL: https://askthegrid.com
  • URL: https://askthegrid.com/api/v1/alert-destinations
  • Auth: HTTP bearer

Request body

channel'sms' | 'slack' | 'teams' required
namestring required
targetstring required
isDefaultboolean

Response

Success

oktrue required

Changes

No recorded changes to this operation across all 1 revision of this API.