Authorization for Hubspot APIs

The Hubspot API accepts authorization via

OAuth 2.0 is the recommended method. However, this package supports both.

Note that if you do nothing the package will use the "demo" API token but this won't give you access to your own Hubspot data. So you'll need to spend a little time on setup:

If you have both saved an API key via hubspot_key_set() and a token via hubspot_token_create(), priority will be given to using the OAuth 2.0 token. If you don't want that, explicitely pass NULL as value for the token_path argument of all functions.



lockedata/hubspot documentation built on March 1, 2020, 8:54 p.m.