Skip to main content

Function: verifyMailroomSignature()

function verifyMailroomSignature(
secret: string,
timestamp: string,
body: string,
signature: string): Promise<boolean>;

Defined in: packages/sdk/src/webhook.ts:61

Verify an inbound Mailroom webhook signature. Pass the raw request body string exactly as received (do not re-serialize).

Parameters

ParameterType
secretstring
timestampstring
bodystring
signaturestring

Returns

Promise<boolean>