# How to use @hubspot/api-client

**URL:** <https://community.hubspot.com/t/how-to-use-hubspot-api-client/90119>\
**Category:** APIs & Integrations\
**Tags:** oauth, timeline-and-extensions-apis\
**Created:** [September 20, 2023, 10:13pm UTC](https://community.hubspot.com/t/how-to-use-hubspot-api-client/90119 "2023-09-20T22:13:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SRodriguez23](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@SRodriguez23](https://community.hubspot.com/u/SRodriguez23)\
**Post date:** [September 20, 2023, 10:13pm UTC](https://community.hubspot.com/t/how-to-use-hubspot-api-client/90119/1 "2023-09-20T22:13:43Z")

</div>

Hi there,

I’ve started to work with serverless functions, and I’m following some tutorials, but I can’t work with @hubspot/api-client , Axios and the rest of the package works fine, does anyone know how to get this package to work?

cheers

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [September 21, 2023, 10:51am UTC](https://community.hubspot.com/t/how-to-use-hubspot-api-client/90119/2 "2023-09-21T10:51:20Z")

</div>

Hello @SRodriguez23

Please consider this documentation:

[https://www.npmjs.com/package/@hubspot/api-client](https://www.npmjs.com/package/@hubspot/api-client)

> **[2026-03 API reference - HubSpot docs](https://developers.hubspot.com/docs/api-reference/latest/overview)**
>
> Reference documentation for HubSpot's date-versioned APIs, introduced with the 2026-03 release.

We have gone through this documentation and hubspot/api-client was worked fine.
