Create or update a webhook.
PUT
/webhooks/{webhookID}
200Description
If an object with the same ID already exists, it will be overwritten.
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
webhookID | Required | string | ID of the webhook. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | Required | string | --- | --- | --- | |
Description | string | --- | 2000 characters | --- | ||
Url | string | --- | --- | --- | ||
HashKey | string | --- | 50 characters | --- | ||
ElevatedRoles | array | --- | --- | --- | ||
ConfigData | object | --- | --- | --- | ||
BeforeProcessRequest | boolean | --- | --- | --- | ||
ApiClientIDs | array | --- | --- | --- | ||
WebhookRoutes | array | --- | --- | --- | ||
DeliveryConfigID | string | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
Name | string | --- | --- | --- | ||
Description | string | --- | 2000 characters | --- | ||
Url | string | --- | --- | --- | ||
HashKey | string | --- | 50 characters | --- | ||
ElevatedRoles | array | --- | --- | --- | ||
ConfigData | object | --- | --- | --- | ||
BeforeProcessRequest | boolean | --- | --- | --- | ||
ApiClientIDs | array | --- | --- | --- | ||
WebhookRoutes | array | --- | --- | --- | ||
DeliveryConfigID | string | --- | --- | --- |