cancel
Showing results for 
Search instead for 
Did you mean: 

Webhook EndPoint is not validatiing

ritumalik1109
Newcomer
Newcomer

I've been attempting to set up event subscriptions, but I keep encountering an error when trying to validate the endpoint URL. The message I receive is: "URL validation failed. Try again later." This issue has arisen while developing a new application.

2 REPLIES 2

tjamaker
Explorer
Explorer

Hi, did you solve the problem?

 

I have the same issue while integration with make.com.

 

I have created everything like it is described in the document (-> https://developers.zoom.us/docs/api/rest/webhook-reference/#validate-your-webhook-endpoint). But I don't know where's the problem actual. On Zoom or on make.com site.

 

What do I have to put as **salt** into the hash-function:

This is described in the document with "Set your webhook's secret token as the secret (salt)"

* The Webhook-ID from make.com

* the secret-Token from Zoom from the feature page

* the client-secret from the App-credentials page

 

 

philD
Newcomer
Newcomer

If it helps anyone, this is what worked for me using PHP

$contents = file_get_contents('php://input');

$input = json_decode($contents, TRUE);

$plainToken = $input['payload']['plainToken'];

$encryptedToken = hash_hmac(
	'sha256', 
	$plainToken, 
	'{secret token}',
	FALSE
);

$response = [
	'plainToken' => $plainToken,
	'encryptedToken' => $encryptedToken,
];

$responseOutput = json_encode($response);

header("Content-Type: application/json; charset=utf-8", TRUE, 200);

print $responseOutput;

 

'secret token' above is  your Zoom API secret token (not client secret)