Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

Body

application/json
events
string[]
required
Minimum array length: 1
url
string<uri>
required
name
string
required
Minimum string length: 2
enabled
boolean
required
payloadType
enum<string>
required
Available options:
raw,
json,
slack,
discord
projects
string[]
tags
string[]
environments
string[]
method
enum<string>
Available options:
POST,
PUT,
PATCH
headers
object
timeoutSeconds
integer | null

Request timeout in seconds, up to the server maximum (120 unless configured). Null uses the default.

Required range: x >= 1

Response

Resource created

eventWebhook
object
required