Skip to content

Switch from using API Key auth to Private App Token auth #814

Open
@techieshark

Description

@techieshark

Description and Context

Hubspot has discontinued support for API Keys (as you know: #701).

Looking here, I don't see support for private app tokens.

Using hs cli 4.0.0

Steps to reproduce

Run

HUBSPOT_PORTAL_ID=your-id HUBSPOT_API_KEY=your-key hs fetch / ./hubspot-files --overwrite --use-env

and observe that it fails because api keys were deprecated.

Expected behavior

So now we'd expect something like this to work:

HUBSPOT_PORTAL_ID=your-id HUBSPOT_PRIVATE_APP_TOKEN=pat-xxxxx hs fetch / ./hubspot-files --overwrite --use-env

but it doesn't

Screenshots

Who to Notify

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions