Skip to content

/api/v1/tenants/{tenantId}/webhooks (POST)

POST
/api/v1/tenants/{tenantId}/webhooks
curl --request POST \
--url https://example.com/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/webhooks \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "url": "example", "events": [ "example" ], "serverIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "enabled": true, "format": "generic" }'
tenantId
required
string format: uuid
Media typeapplication/json
object
name
required
string
url
required
string
events
required
Array<string>
serverIds
required
Array<string> | null
enabled
boolean
default: true
format
One of:
null

OK