> ## Documentation Index
> Fetch the complete documentation index at: https://hub.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HubSpot Webhook Configuration

> To successfully configure the webhook and send the event on action.

> [!WARNING]
>
> This guide assumes that you have administrative privileges for your HubSpot account.

## ✅ Prerequisites

Make sure you have the following before you start:

* A [HubSpot Developer Account](https://developers.hubspot.com)

## Get Credentials

**1. Log in to HubSpot Developer Account**

Log in to your HubSpot Developer Account at [https://app.hubspot.com/login](https://app.hubspot.com/login)

![Log In](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image10.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=6dcb03c0af25a3ae661585966430a236)

**2. HubSpot OAuth App**

* Select **Apps** from the navigation panel.
* Click **Create App** to create a new app or select an existing app from the list.

![App List](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/app-list.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=974e9f6e743b324d31ab3ce51c50b023)

**3. Get the Developer API Key**

* Select **Keys** from the left sidebar.
* Click **Show** to view your existing key or **Generate New Key** to create one.
* Copy the key and store it securely.

> [!NOTE]
>
> Developer API key is required to subscribe `create` and `delete` events for `Contacts` and `Accounts`

![API Key](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image9.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=3bf84caf3af70297cc22d210fe486867)

## Configure Webhooks

**1. Navigate to Webhooks**

In your app dashboard, navigate to **Apps>Webhooks**.

![Webhook Page](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image4.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=099228371f84e5ace6c67e3ede9ebb49)

**2. Set the Webhook URL**

* Add your `External Trigger URL` in the Target URL field.
  \[!NOTE] This step is only required when configuring update events for Contacts and Accounts.
  For all other events (such as create and delete), webhook subscriptions are handled automatically via the Webhook Subscription API, and no manual configuration of the Target URL is needed.

![Target URL](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image5.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=37aa5037b018ccf891c4b893f45f0a1d)

* Click **Save** to save the changes.

![Save changes](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image8.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=678a56a07862f436e96e0e114d92e80c)

**3. Subscribe to Events**

* Click **Create Subscription**
* Select the object and event you want to subscribe to.
  * `contact.propertyChange`
  * `company.propertyChange`
* Select the field you want to trigger the `propertyChange` event on.
* Save subscription by clicking **Subscribe** button.

> [!NOTE]
>
> This step is only required when configuring *update* events for **contacts** and **accounts**.

![Subscribe Event](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image6.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=9cefd711fe1ab9b54ccee5b4a8073c7e)

* Activate the webhook by clicking the **Activate** button.

![Activate Event](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image7.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=ecdcaf3c74d77180aee80e7a63d8b9fb)

## StackOne Webhooks Configurations

**1. Log in to StackOne Dashboard**

Log in to your StackOne Dashboard at [https://app.stackone.com/login](https://app.stackone.com/login) and navigate to **Webhooks**

![Webhooks page](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image11.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=471a0f92e66a46f17fd76ac0109ce282)

**2. Create Webhook**

* To create new webhook click on **Add Webhook** button.

![Add Webhook](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image12.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=9243437b1b8202f4f780c581abf8072f)

* Enter Webhook **Name** and **URL** and click **Create**.

![Create](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image13.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=aa7f30122ea815a6970a790b60b92db8)

* Click **Save** to save the changes.

**3. Configure Events**

* Select Webhook from the list.

![Select Webhook](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image14.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=1b939ec6087451254d1aa0a028e2ed76)

* Go the **Events** tab.
* To add a new event (such as Create, Update, or Delete), click the plus icon under the CRM catgory.

![Add Event](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image15.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=9c2b6bd475d57e13e20a0a1230462556)

* Select the event under the **HubSpot** integration and click on the *Confirm* button to save the details.

![Confirm Event](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image16.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=440b3742c7c819d9b305fcb77aeb149c)

* Save the webhook by clicking the **Save** button.

![Confirm Event](https://mintcdn.com/stackone-hub/eRjw69vPYnCnlFlz/images/hubspot/image17.png?fit=max\&auto=format\&n=eRjw69vPYnCnlFlz\&q=85\&s=deb4ca9ad1eb023b32fd2e96cee8d58b)

Congratulations, you're all set!

## Useful Links

> [card] [API Reference](https://developers.hubspot.com/docs/guides/api/app-management/webhooks)
>
> [https://developers.hubspot.com/docs/guides/api/app-management/webhooks](https://developers.hubspot.com/docs/guides/api/app-management/webhooks)

> [card] [HubSpot Developer Portal](https://developers.hubspot.com)
>
> [https://developers.hubspot.com](https://developers.hubspot.com)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.