Learn how to set up a feature so that any customer who has installed your app in their account can share HubSpot reports and dashboards with it.
POST
requests from HubSpot when a customer who has installed your app shares their HubSpot reports and dashboards.
You’ll need to set up the following endpoints to handle the four webhook event triggers:
CHECK_PERMISSIONS
FETCH_RECIPIENTS
FETCH_RECIPIENT
SHARE_OBJECT
https://BASE_PATH_OF_YOUR_SERVICE/feature/SHARE_VIA/event/CHECK_PERMISSIONS
.
HubSpot will provide the following fields in the body of the request:
https://BASE_PATH_OF_YOUR_SERVICE/feature/SHARE_VIA/event/FETCH_RECIPIENTS
.
HubSpot will provide the following fields in the body of the request:
https://BASE_PATH_OF_YOUR_SERVICE/feature/SHARE_VIA/event/FETCH_RECIPIENT
.
HubSpot will provide the following fields in the body of the request:
POST
request to the endpoint should be a JSON-formatted object with the following fields:
https://BASE_PATH_OF_YOUR_SERVICE/feature/SHARE_VIA/event/SHARE_OBJECT
.
HubSpot will provide the following fields in the body of the request:
POST
request to the endpoint should be a JSON-formatted object with the following fields:
POST
request to when events trigger. Or, use this testing URL: https://api.hubspot.com/integration-components-example/v1/sample-app-webhooks/beta-app