Skip to main content
POST
Create a webhook

Authorizations

Authorization
string
header
required

An Igris API key. It acts with the current role and permission overrides of the member who created it.

Body

application/json
name
string
required
Required string length: 1 - 100
type
enum<string>
required
Available options:
slack,
discord,
http
url
string<uri>
required

Must start with https://.

eventTypes
enum<string>[]
required
Minimum array length: 1
Available options:
policy_deny,
anomaly,
session_suspended
enabled
boolean
default:true

Response

The created webhook. secret is present for http webhooks only.

data
object

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.