CreateWebhookRequest
Schema for creating a new webhook
nameName (string)required
Possible values: non-empty and <= 255 characters
description object
anyOf
- string
- null
string
Possible values: <= 500 characters
urlstring<uri>required
Possible values: non-empty and <= 2048 characters
eventsstring[]
headers object
anyOf
- object
- null
object
auth_typeAuthTypeEnum (string)
Webhook authentication types
Possible values: [none, bearer, basic, api_key]
Default value:
noneauth_config object
anyOf
- object
- null
object
methodMethodEnum (string)
HTTP methods for webhooks
Possible values: [POST, PUT, PATCH, GET]
Default value:
POSTcontent_typeContent Type (string)
Possible values: <= 100 characters
Default value:
application/jsoncustom_payload_template object
anyOf
- string
- null
string
is_activeIs Active (boolean)
Default value:
truemax_retriesMax Retries (integer)
Possible values: >= 0 and <= 10
Default value:
3timeout_secondsTimeout Seconds (integer)
Possible values: >= 1 and <= 300
Default value:
30rate_limit_per_minuteRate Limit Per Minute (integer)
Possible values: >= 1 and <= 1000
Default value:
60CreateWebhookRequest
{
"name": "string",
"description": "string",
"url": "string",
"events": [
"string"
],
"headers": {},
"auth_type": "none",
"auth_config": {},
"method": "POST",
"content_type": "application/json",
"custom_payload_template": "string",
"is_active": true,
"max_retries": 3,
"timeout_seconds": 30,
"rate_limit_per_minute": 60
}