Calendly (Mac only)

Step 1: Create a Webhook URL

In order to integrate Calendly with Evidence, Calendly needs a “Webhook URL” to send the data to. Follow this article to learn how to create a webhook URL within Evidence to insert into Calendly.

Step 2: Connect to Calendly

On your Mac, open up the terminal on your computer.

While in the terminal, paste this line: export TOKEN=

NOTE: Paste the API key of your Calendly account after the “=”.

Hit Enter. In the terminal again, type export WEBHOOK_URL= and paste the url that you copied from Evidence after the “=”.

Hit Enter. Again, in the terminal, type curl --header "X-TOKEN:$TOKEN" --data "url=$WEBHOOK_URL&events[]=invitee.created&events[]=invitee.cancelled"https://calendly.com/api/v1/hooks

Hit Enter. You should receive an ID. Save this ID for later.

Once a new booking is created, the webhooks should now be sending to Evidence.

NOTE: If you received a “403” Authorization Error, this means that you need to be on a paid Calendly plan.

Now, if you wish webhook notifications from Calendly to stop, type  curl -X DELETE --header "X-TOKEN: <your_token>" https://calendly.com/api/v1/hooks/<hook_id>

Replace <your_token> with your Calendly API Key, and replace <hook_id> with the ID from above that you received in the terminal.

Now you will need to schedule a Calendly meeting with yourself so that Calendly will send a webhook to Evidence. Once you have sent the test notification to Evidence, click this link to learn what to do with the Calendly webhook that Evidence received.

Was this helpful?