Skip to main content

WebhookConsentState

Whether the destination currently consents to receiving webhooks. Nothing is delivered while consent is not Verified; notifications keep accumulating and go out once a handshake succeeds. Consent is asked for with a CloudEvents OPTIONS request and re-validated periodically, so ceasing to answer it is a supported way of switching Pickware off.

enum WebhookConsentState {
Pending
Verified
Refused
Lost
}

Values​

WebhookConsentState.Pending​

The destination has not answered a handshake yet. Delivery is suspended.

WebhookConsentState.Verified​

The destination consented in the last handshake and receives deliveries.

WebhookConsentState.Refused​

The destination answered the last handshake with a refusal. Delivery is suspended and the handshake is retried.

WebhookConsentState.Lost​

The destination consented before but no longer answers the periodic re-validation. Delivery is suspended.

Member Of​

WebhookConsentStateFilter input ● WebhookSubscription object