# Connect to API via oAuth C#

**URL:** <https://community.hubspot.com/t/connect-to-api-via-oauth-c/62621>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [August 9, 2022, 12:27pm UTC](https://community.hubspot.com/t/connect-to-api-via-oauth-c/62621 "2022-08-09T12:27:35Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![AAva](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@AAva](https://community.hubspot.com/u/AAva)\
**Post date:** [October 13, 2022, 6:23am UTC](https://community.hubspot.com/t/connect-to-api-via-oauth-c/62621/8 "2022-10-13T06:23:54Z")

</div>

Hello!I did the same with RestClient, it works fine.

I used the examples from here [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/contacts) adapted for my use case.

If you choose the “Endpoints” tab You can find examples and also run test calls.

Hope it helps!

---

_[View the full topic](https://community.hubspot.com/t/connect-to-api-via-oauth-c/62621)._
