I’m looking for guidance on how to execute a specific Curl command using a Webhook in Zapier. I’m unsure about the correct way to format this for the Webhook. Would it be more effective to implement this as a separate Code Zap instead?
const webhookUrl = 'https://api.zoom.us/v2/users';
const accessToken = 'your_access_token_here';
fetch(webhookUrl + '?access_token=' + accessToken, {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
action: 'create',
user_info: {
email: '[email protected]',
type: 1,
first_name: 'Chris',
last_name: 'G',
password: 'Password123'
}
})
})
.then(response => response.json())
.then(data => console.log(data));