create an alert hook
Adds an external destination that every new alert for the account is pushed to as it happens. An account may have at most 5 alert hooks.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
AccountSid
Request
This endpoint expects an object.
type
json - signed JSON POST to a URL; slack - Slack incoming webhook; pagerduty - PagerDuty Events API v2; email - only when the platform has email configured
Allowed values:
address
json and slack - an https URL (a Slack incoming webhook URL for slack); pagerduty - an Events API v2 routing key; email - an email address
Response
alert hook successfully created
sid
Errors
400
Bad Request Error