Content Management API > Webhook
Update a webhook
Body parameters
Must be exactly "webhook"
.
Unique name for the webhook
Example: "Item type creation/update"
Example: "https://www.example.com/webhook"
Example: '{ "message": "{{event_type}} event triggered on {{entity_type}}!", "entity_id": "{{#entity}}{{id}}{{/entity}}"] }'
Additional headers that will be sent
Example: { "X-Foo": "Bar" }
The subject of webhook triggering
Type:
Array<object>, null
HTTP Basic Authorization username
HTTP Basic Authorization password
Whether the webhook is enabled and sending events or not
Specifies which API version to use when serializing entities in the webhook payload
Whether the you want records present in the payload to show blocks expanded or not
If enabled, the system will attempt to retry the call several times when the webhook operation fails due to timeouts or errors.
Returns
Returns
a resource object of type webhook.
Examples