POST /api/v2/Website/zoom/verify
Description
My app Medspa Network is failing its validation for webhooks, i have copied the code directly from the Zoom example for Node and modified to it fit my Token. i can verify through PostMan that the API is working correctly and sending the correct data back in less than .3 seconds. I have also regenerated my token to ensure that it is up to date, and Verified that my ENV variabales are live and correct.
const hashForValidate = crypto.createHmac('sha256', process.env.ZOOM_WEBHOOK_SECRET_TOKEN).update(request.body.payload.plainToken).digest('hex')
response.status(200)
response.json({
"plainToken": request.body.payload.plainToken,
"encryptedToken": hashForValidate
})
Error?
Validation Failed
How To Reproduce
- Send a POST to my endpoint medspanetwork[.com] /api/v2/Website/zoom/verify
- Obviously my token wont match the one you send, but you should still get a correctly formatted JSON response