Basic flow of using contacts api and authorization


Hi All,

I am new to Hubspot integration. Can any one please let me know how to use contacts API.

I tried few examples but it did not work out.

How to get the access token to hit the contacts API. Do we need to hit twice to get the access token.?

BTW I’m using java to integrate

Please help. Thanks!