Skip to content
Toolwire

HubSpot

CRM contacts, companies, deals and tickets

Sales and CRMMarketingCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Service key (or private app token pat-…)SecretRequired

    Where to find them

    In HubSpot (super admin or with access to the developer tools): “Settings” → “Integrations” → “Service keys” (in some accounts, “Development” → “Keys” → “Service keys”) → “Create service key”. Give it a name, add the permissions crm.objects.contacts.read/write, crm.objects.companies.read/write, crm.objects.deals.read/write and crm.objects.owners.read (and tickets if you use them), create it and copy it with “Show”. The token of a legacy private app also works.

  • OAuth 2.0

    PKCEYour OAuth app

    Bring your own OAuth app: register one with HubSpot, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide

    Registering the OAuth app

    1. HubSpot no longer creates apps from the browser, only with its CLI: install it (npm install -g @hubspot/cli), run “hs account auth” with the account where you will create the app and then “hs project create”: name it “Toolwire”, choose “App” as the content and private distribution (specific accounts only).
    2. In the app's app-hsmeta.json set “auth” → “type”: “oauth”, the redirect URI shown below in “redirectUrls” and the permissions (scopes) shown below in “requiredScopes”; leave the optional ones empty, because HubSpot requires requesting all the required ones in the URL.
    3. Upload the project with “hs project upload”, open it with “hs project open”, go into the app → “Auth” tab and copy the “Client ID” and the “Client secret”.
    4. When connecting, a HubSpot super admin chooses the account and accepts the permissions (if HubSpot asks you to allow that account in the app's distribution, add it). If you already have a public app created in a developer account (previous model), that works too: add the URI to it and check those same permissions.

    Default scopes

    • crm.objects.contacts.read
    • crm.objects.contacts.write
    • crm.objects.companies.read
    • crm.objects.companies.write
    • crm.objects.deals.read
    • crm.objects.deals.write
    • crm.objects.owners.read
    • crm.objects.tickets.read
    • crm.objects.tickets.write

Tools (2)

  • HubSpot API requestHUBSPOT_SEND_REQUEST

    Authenticated call to the HubSpot API (https://api.hubapi.com). Any endpoint of the API is allowed. Examples: GET /crm/objects/2026-09/contacts?limit=20&properties=email,firstname,lastname, POST /crm/objects/2026-09/contacts/search {"filterGroups": [{"filters": [{"propertyName": "email", "operator": "EQ", "value": "…"}]}]}, POST /crm/objects/2026-09/deals {"properties": {"dealname": "…", "amount": "…"}}, PATCH /crm/objects/2026-09/companies/{id}, GET /crm/owners/2026-09, GET /crm/pipelines/2026-09/deals, PUT /crm/objects/2026-09/contacts/{id}/associations/default/companies/{id}. The old paths (/crm/v3/…) still work, but HubSpot drops support for them in September 2027.

    Required scopes

    No scopes required

    Input

    HubSpot API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Search the CRMHUBSPOT_SEARCH_CRM

    Search contacts, companies, deals or tickets by text (name, email, domain, phone…). Returns id and main properties.

    Required scopes

    No scopes required

    Input

    Search the CRM input
    NameTypeDescription
    typestringOne of: contacts, companies, deals, ticketsDefault: "contacts"
    queryrequiredstringText to search for
    propertiesstring[]Properties to return (by default, the main ones for the type)
    maxintegerDefault: 20
    afterstringThe “next” value from the previous search