Webhooks
Create a webhook
Creates an outbound alert destination: Slack, Discord, or your own HTTPS endpoint. See Anomaly detection.
urlmust be HTTPS and must not point at localhost or internal addresses. Slack URLs must be onhooks.slack.com. Discord URLs must be ondiscord.comordiscordapp.com.- Each type is plan-gated (
403 plan_feature_unavailable). - The limit is 10 webhooks per organization.
http webhooks are signed, and the response includes the signing secret once. See Delivery and signing.
Required permission: alerts:manage
POST
Create a webhook
Authorizations
An Igris API key. It acts with the current role and permission overrides of the member who created it.
Body
application/json
Required string length:
1 - 100Available options:
slack, discord, http Must start with https://.
Minimum array length:
1Available options:
policy_deny, anomaly, session_suspended Response
The created webhook. secret is present for http webhooks only.
A webhook. The URL is masked in every response. Only hasSecret is exposed, never the secret itself, except the one-time secret returned when a signing secret is issued.