La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
nov. 9, 20223:09 AM - modifié nov. 9, 20224:53 AM
Contributeur
How to change the URL that contains the API key by OAuth?
Résolue
Hello,
As HubSpot is going to remove the use of API keys I find myself in a situation to change all my scripts.
In this example, I pass the API key in the URL (url variable), now with the OAuth Access Token I don't know how and where to put it to be able to do my contact import.
How to change the URL that contains the API key by OAuth?
Résolue
There we go! Your API request is authenticated and is working now.
If you copy and pasted my code directly, then that was a GET request which returns a paged list of active imports for your account. You will want to change the "request.get" to "request.post" and adjust the syntax with the payload in your original post.
P.S. could you mark this post as the correct solution to your original question? This will help other developers on the forum searching for this exact issue.
How to change the URL that contains the API key by OAuth?
Résolue
There we go! Your API request is authenticated and is working now.
If you copy and pasted my code directly, then that was a GET request which returns a paged list of active imports for your account. You will want to change the "request.get" to "request.post" and adjust the syntax with the payload in your original post.
P.S. could you mark this post as the correct solution to your original question? This will help other developers on the forum searching for this exact issue.