CTCTWebhookUtil IsValidWebhook Method CTCT Wrapper Documented Class Library
Validates a Webhook message

Namespace: CTCT.Webhooks
Assembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public bool IsValidWebhook(
	string xCtctHmacSHA256,
	string bodyMessage
)

Parameters

xCtctHmacSHA256
Type: System String
The value in the x-ctct-hmac-sha256 header
bodyMessage
Type: System String
The body message from the POST received from ConstantContact in Webhook callback

Return Value

True if in case of success; False if the Webhook is invalid
See Also