Blog · Tools and comparisons

Building your own Zoom to HubSpot sync: what it takes

A homemade sync needs a Zoom app with webhook events, a HubSpot key with contact scopes, an upsert by email, retries and a log. Fine to build, harder to keep.

Kurt Kalwin6 min read

A Zoom webhook to HubSpot API sync needs five parts: a Zoom Marketplace app subscribed to webinar events, a HubSpot credential with contact scopes, an upsert that matches on email, retries for both sides, and a log you can read when someone asks where a registrant went. A developer can build it in a weekend. Keeping it running for two years, alone, is the part I would think hard about.

The Zoom side: an app, an endpoint and two events

Zoom only sends webhooks to an app. Its webinar webhook reference says the webinar.registration_created event fires every time someone registers for a webinar created by one of your app users or account users, and that it needs a Pro or higher plan with a Webinar license and Event Subscriptions enabled on your Marketplace app. The payload carries the registrant's email and first name, which is what you need to find or create the contact.

For a sync that also records attendance, add webinar.ended from the same reference. When it arrives, you call GET /past_webinars/{webinarId}/participants, which Zoom's Meetings API reference describes as listing everyone who attended a past webinar, and mark who came. I prefer that to listening for every join, because a report after the fact is one call and one list.

Then the endpoint has to prove itself. Zoom's page on using webhooks describes an endpoint.url_validation event: your endpoint answers with a hashed version of a plainToken within 3 seconds, and Zoom revalidates the URL every 72 hours. If revalidation fails 6 times in a row, Zoom disables the subscription. The same page says every event is signed in the x-zm-signature header with HMAC SHA-256 and your secret token, and your code should check it before trusting the body.

The HubSpot side: a credential with contact scopes

The credential is where the advice from a year ago no longer holds. HubSpot's legacy private apps page says that as of October 26, 2026, legacy private apps can no longer be created. Existing ones keep working. A new build today starts somewhere else.

For a script that only calls the REST API, that somewhere is a service key. HubSpot's page on making requests with a service key describes creating one in the account settings with object scopes, and a key can only be given scopes the user creating it already has. Ask for contact read and write and nothing else. A sync that can delete deals is a sync someone will eventually point at the wrong portal.

Upsert by email, and the one catch

Matching on email is the whole job. HubSpot's contacts API guide recommends always including email, because it is the primary unique identifier for avoiding duplicate contacts. The same guide documents a batch upsert endpoint, POST /crm/v3/objects/contacts/batch/upsert, where you set idProperty to email: existing contacts are updated and missing ones are created, up to 100 inputs per request.

The catch is in the same guide. Partial upserts are not supported when email is the idProperty. In practice that means you decide, field by field, what the sync is allowed to send. If you send company and job title from the Zoom form, you overwrite whatever sales typed. I send email, first name, last name and one webinar property, and leave the rest alone. Duplicate contacts from webinar imports covers what happens when the email match is skipped, and the cleanup is the same whether a CSV or a script made the mess.

A weekend build, in order

Here is the order I would build it in, with hypothetical hours for one developer who knows both APIs a little.

  1. Create the Zoom Marketplace app, turn on Event Subscriptions, subscribe to webinar.registration_created and webinar.ended. One hour.
  2. Write the endpoint: answer the validation challenge, check x-zm-signature, write the raw event to a table, return 200. Three hours.
  3. Create the HubSpot service key with contact scopes, and create the webinar properties you want filled. One hour. The HubSpot contact properties a webinar program needs lists the ones I use.
  4. Write a worker that reads unprocessed events from the table and sends them to batch upsert with idProperty email. Three hours.
  5. Add retries for HubSpot errors and mark each event done, failed or skipped with a reason. Three hours.
  6. Register for your own test webinar with two addresses, one already in HubSpot and one new, and check both contacts by hand. One hour.

That is about twelve hours, which fits a weekend with time for lunch. Step 2 matters more than it looks. Writing the event to your own table before doing anything else means a HubSpot outage costs you a delay, not a registrant.

Retries and a log are most of the code

Both vendors fail sometimes, and the sync has to tell those failures apart. Zoom's using webhooks page, linked above, says that if your endpoint does not answer with success, it retries three times, at 5, 20 and 60 minute gaps, and then sends no more for that event. It also says it does not retry 4xx responses. So a bug in your signature check that returns 401 loses those registrations for good, and you will only find out from the attendee report.

On the HubSpot side, you write the retry policy yourself: back off on rate limits, stop on validation errors, and keep the payload so you can resend it. Then the log. The question you will get is never "is the sync up". It is "Priya registered on Tuesday, why isn't she in the list". You need to search by email and see the event, the HubSpot response and the time. Without that, every question is an afternoon.

Fine to build, poor to maintain alone

I think the build is a reasonable weekend project, and a good way to learn both APIs. What I would not do is make it the only path for webinar data when one person owns it. The maintenance is small and constant: the Zoom URL revalidation, a credential type that HubSpot has just changed, payload fields that get added, the occasional event that never arrives. None of it is hard. All of it lands on whoever wrote the code, usually during their holiday.

Before writing anything, check whether the native app covers you. What HubSpot's Zoom integration does lists its limits, and if registrants and attendance are all you need, use it. If you want a step in between, Zapier for Zoom to HubSpot shows where a no-code zap holds up. Connexa is the bought version of the sync above, with the sync log and one-click resync built in; how Connexa writes to HubSpot and the Zoom setup guide show what it touches. If you have a developer who enjoys this and will be around next year, build it.

Questions people ask

Can I use a legacy private app I already have?

Yes. HubSpot says existing legacy private apps keep working after the October 26, 2026 cutoff; only creating new ones stopped. Plan to move it when HubSpot sets a firm date for your account.

Should I listen for every participant join instead of the webinar ending?

I would not. Join events are many small calls that arrive during the busiest hour of the webinar. Waiting for webinar.ended and reading the participant list once gives you the same attendance with less to retry.

Do I need a server, or will a serverless function do?

A serverless function is fine for the endpoint, as long as it answers Zoom's validation within 3 seconds and stores the event before doing slow work. The HubSpot upsert belongs in a second step that can retry without Zoom waiting on it.