Skip to navigation

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

AccountSidstringRequiredformat: "uuid"

Request

This endpoint expects an object.
typeenumRequired

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:
addressstringRequired

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
sidstring

Errors

400
Bad Request Error