How to connect dot net (c#) application with hubspot API?

contacts

#1

Hello,

Is there any sample code or tutorial to develop c# application that fetches list of contacts with history data from hubspot?

Regads,
Ashish


#2

@ashish.moradiya you just need to make an HTTP GET request to the url https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=<>

We don’t provide sample code for every language so I would recommend looking up C# libraries that can help you make that HTTP request.

There is an example on our docs for this endpoint if this helps get you started: