# Custom Code Not Allowing API Call to Hubspot

**URL:** <https://community.hubspot.com/t/custom-code-not-allowing-api-call-to-hubspot/57746>\
**Category:** Data Hub\
**Tags:** workflow-extension\
**Created:** [May 26, 2022, 2:23am UTC](https://community.hubspot.com/t/custom-code-not-allowing-api-call-to-hubspot/57746 "2022-05-26T02:23:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![KPadhiyar](https://avatars.discourse-cdn.com/v4/letter/k/7993a0/32.png) [@KPadhiyar](https://community.hubspot.com/u/KPadhiyar)\
**Post date:** [September 5, 2024, 5:49am UTC](https://community.hubspot.com/t/custom-code-not-allowing-api-call-to-hubspot/57746/5 "2024-09-05T05:49:51Z")

</div>

@BRogers1 Can you please share your custom code. How do you pass access\_token in Custom code.  
Thanks…

---

_[View the full topic](https://community.hubspot.com/t/custom-code-not-allowing-api-call-to-hubspot/57746)._
