Add Event Subscriptions - Field Descriptions

The following page describes the fields that can be used in the request and returned in the response for the Add Event Subscriptions endpoint.

Request

The following table describes the field that can be included in the body of the request when adding event subscriptions.

FieldDescriptionTypeMandatory
eventsThe event codes to add to the webhook, as an array of integers. For example, [101, 102]. For more information, see Webhook Event Codes.Array of integersYes

Response

The following table describes the fields included in the response after successfully adding event subscriptions.

FieldDescription
statusThe status of the response. For example, success.
responseObject that contains the details of the update.
webhookIdThe unique identifier of the webhook.
responseStatusThe status of the event subscription update. This is one of Webhook events updated, Update failed or Webhook is not active.
responseEnd of the response object.

Did this page help you?