PUT/api/v1/hubspot/settings

HubSpot'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.

API token required30 per minute per IP

Guide: HubSpot

Code samples and Try it

Request body

#

application/json, required

  • workspace_idstringRequired

    Matches ^[0-9a-f]{24}$.

  • auto_logboolean

    Log the team's calls to HubSpot after their summary is written, when the match is confident (off by default).

  • suggestboolean

    Suggest deal updates after a call matched to a deal (on by default; never applied without a person).

  • precallboolean

    Pre-call briefs to the team's members before their HubSpot meetings (on by default).

  • approveboolean

    A Slack message to the call's host with Log to HubSpot and Create tasks buttons (on by default).

  • deal_updatesboolean

    Let 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. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?