Learn how to import users into any HubSpot account that has installed your app.
POST
requests from HubSpot when a customer who’s installed your app triggers a bulk user import.
One endpoint you set up will be to return account data, while the other will return user data. The specifications for each endpoint are detailed in the sections below.
Requests are sent with the HubSpot Signature. To ensure that the requests that are received are from HubSpot, they can be validated using the signature: https://developers.hubspot.com/docs/api/webhooks/validating-requests
https://BASE_PATH_OF_YOUR_SERVICE/feature/USER_IMPORT/event/FETCH_ACCOUNTS
.
HubSpot wil 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/USER_IMPORT/event/FETCH_USERS
.
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