/api/v1/hubspot/settingsHubSpot's switches
Turns the workspace's HubSpot switches on or off; send only the ones to change. auto_log (Log calls automatically, off by default): a team call whose summary is written and that matched the meeting HubSpot booked is logged on its own. suggest (on): suggested deal updates after calls. precall (on): pre-call briefs to the team's members. approve (on): the Slack message with Log to HubSpot and Create tasks to a call's host. deal_updates (off): let Apply on a suggested update change the deal. Returns the status. Admins and owners.
Guide: HubSpot
Code samples and Try itRequest body
#application/json, required
workspace_idstringRequiredMatches
^[0-9a-f]{24}$.auto_logbooleanLog the team's calls to HubSpot after their summary is written, when the match is confident (off by default).
suggestbooleanSuggest deal updates after a call matched to a deal (on by default; never applied without a person).
precallbooleanPre-call briefs to the team's members before their HubSpot meetings (on by default).
approvebooleanA Slack message to the call's host with Log to HubSpot and Create tasks buttons (on by default).
deal_updatesbooleanLet Apply on a suggested deal update change the deal in HubSpot (off by default; the key also needs crm.objects.deals.write).
Responses
#200OK.401No token, or the token is revoked or mistyped.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.