La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
Hi. I created a dev account and am new to hubspot. I’m trying to write a batch program to connect to my own instance in hubspot and insert new contacts records. How do I OAuth authenticate so a human does not have to manually Accept / Decline? My application needs a way to get an access token for my own account, outside the context of any specific user interaction. I tried Grant Type password and username and it still requires Accept by a human. Feedback appreciated …
Hi guys, on this same subject I just want to confirm something to be 100% sure!
Regarding using OAuth2 rather than API keys, this is a simple “access popup box” that the user just clicks ALLOW to give access to HubSpot, so simpler to setup, but can you please confirm if the user who gave access gets his hubspot account deleted (ex. leaves the company), everything stops working until somebody else with the required permissions (that our app requests) re-clicks to oauth/allow access to our api via the same access popup box, correct?
Basically what I am asking is are we DEPENDANT on the hubspot user account to always exist for our oauth2 authenticated app to work? Or once the auth is allowed and done and working even if the user is removed or deleted the refresh/access tokens will continue to work the same way regardless?
Our OAuth process requires a user to be logged into HubSpot and to click the authorize button, and we don’t have a way to authenticate programmatically.
If you’re working on a custom integration that will only exist as a backend server process, then you may want to look at using an API key for authentication.
Marketing Basic, Professional, and Enterprise customers and portals with a CRM can access the HubSpot API. Learn how to access your HubSpot API key here.
You can and should use OAuth2 when authenticating an application. The thing to know/remember is that the “Refresh Token” does not expire. You need to get this once and then store it. From there you can get new “Access Tokens” as needed, because these do expire. Use the ‘expires_in’ field from the response in the call to get the refresh token or the call to get a new access token to know how often to refresh the access token. See http://developers.hubspot.com/docs/methods/oauth2/get-access-an…