July 2023 Rollup
Developer Updates for July 2023
CMS Module categories
Public Betas
New filtering and sorting options in Conversations API
Webhooks for Private Apps now in Public Beta
Webhooks allow you to subscribe to events in your HubSpot account, such as every time a contact is created or every time a specific property in a contact is changed. Rather than making an API call to query for event changes in your HubSpot account, you can subscribe to events which will trigger HubSpot to send an API request to an endpoint that you configure in your private app.
Webhook subscriptions were previously only available to public apps. This meant that if you wanted to enable webhooks, you'd have to create a separate developer account and a public app for that functionality -- even if you only wanted webhooks for your own portal. Bringing webhooks to private apps makes them more accessible and easier to use within your existing account.
Functionality
To start using webhooks in a private app, create a new private app or edit an existing one.
Your private app will have a new tab called Webhooks where you'll be able to set up the feature. Here, you can add a Target URL that HubSpot will make POST requests to when events trigger.
Click on Create subscription to select which events you'd like to create webhook subscriptions for.
For more information, please refer to the documentation