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
| Parameter | Type |
|---|---|
secret | string |
timestamp | string |
body | string |
signature | string |
Returns
Promise<boolean>