Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

407
Views
How to set up a google calendar web hook in Nodejs?

I looked at the google calendar node js api and this wasn’t clear.

How do I set up a web hook using the Nodejs google calendar library?

I want to tell google to ping a server when my clients has either added or changed an appointment on his google calendar?

How can I use Nodejs to set up the watch?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

The Google Calendar API provides push notifications that let you watch for changes to resources (Webhooks).

Google Calendar Push notification                                                                                 View in Fusebit
const calendar = googleClient.calendar('v3');
const watchResponse = await calendar.events.watch({
  resource: {
      id: uuidv4(),
      type: 'web_hook',
      address: 'Your webhook address here'
    },
    calendarId: 'primary'
  });
  
const { data } = watchResponse;
console.log('Calendar Webhook created', data);

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!