Update Webhook Details - Field Descriptions

The following page details each of the fields that can be used in the request and received in the response when using the Update Webhook endpoint.

Request

The following table describes fields that can be included in the body of the request when registering a new webhook.

FieldDescriptionMin LengthMax LengthTypeMandatory
productIdThe code assigned to the product configured on the Thredd system.0255NumericNo
eventsEvent codes. This can be either:

- 101 occurs when fraud rules are triggered by a transaction
- 102 occurs when fraud alerts are acknowledged
03ArrayNo
configObject that contains the configuration information for the webhook. Must be included in the body.ObjectYes
urlURL of your webhook endpoint. This must be HTTPS.1255StringYes
customHeadersCustom headers to be passed along with the request. This is a lifecycle field that the you may want Thredd to always return as part of a webhook. You can have up to three name-value pairs.0500ObjectNo

Response

The following table describes fields that included in the response after successfully registering a new webhook.

FieldDescription
statusIndicates whether the request was successful.
responseObject that returns the updated webhook information.
webhookIdThe unique identifier assigned to the webhook.
productIdThe code assigned to the product configured on the Thredd system.
webhookStatusThe current status of the webhook.
createdTimeThe date and time the webhook was created.
lastModifiedTimeThe date and time the webhook was last modified.
configObject that contains the configuration information for the webhook. Must be included in the body.
urlURL of your webhook endpoint.
customHeadersCustom headers to be passed along with the request.