API v2

API v2

Hi, I need to get some data from the API v2.
With postman, it's OK.
I want to have an automated process, developped in c#. But I couldn't find how to get the grant token or the refresh token from c# code.
Can you tell me if it's possible?
Thanks.