# Allow more than one active API key at a time

**URL:** <https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924>\
**Category:** HubSpot Ideas\
**Tags:** integrations\
**Created:** [January 6, 2020, 7:42pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924 "2020-01-06T19:42:58Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hani-RT](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hani-rt/32/32563_2.png) [@Hani-RT](https://community.hubspot.com/u/Hani-RT)\
**Post date:** [January 6, 2020, 7:42pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/1 "2020-01-06T19:42:58Z")

</div>

The current implementation allows for one active API key at a time. In order to keep things secure, it is suggested that the key is rotated on a schedule. However, in order to do so, you must deactivate the existing key when creating a new one. This would, in many implementations, create downtime. That is a noted issue here: [Authentication overview - HubSpot docs](https://knowledge.hubspot.com/integrations/how-do-i-get-my-hubspot-api-key)

“While this may create downtime and require effort, it adds a layer of security by…”

For some implementations, including ours, where this key must be updated across several servers, this is not ideal.

I’d like to see the ability to have at least 2 API keys allowed at a time. This would allow us to create a new API key and roll out the new one without affecting any live integrations. Then once the new API key has been rolled out, we can deactivate the old one.

I found a related idea ([https://community.hubspot.com/t5/APIs-Integrations/Multiple-API-Key-needed/m-p/292462](https://community.hubspot.com/t5/APIs-Integrations/Multiple-API-Key-needed/m-p/292462)) and I’ll upvote that and it’s related ticket in the approved solution, but I’m not sure it covers the exact same scenario.

---

<div class="post-metadata">

**Author:** ![RiccardoPisani](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/riccardopisani/32/104209_2.png) [@RiccardoPisani](https://community.hubspot.com/u/RiccardoPisani)\
**Post date:** [September 20, 2019, 4:14pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/2 "2019-09-20T16:14:20Z")

</div>

Hi there Hubspotters,

we use several tools integrated with Hubspot thru our API key!

Would be great having the possibility to:

1) have multiple API keys and assign them to different ppl

2) keep track of the API quota easily for each of them in order to get a big picture on the API consumption

If you know any tool that can intgrates with HubSpot and helps me with that, please share it with me 🙂

I hope you will find this Idea useful!

Kind regards,

Riccardo

---

<div class="post-metadata">

**Author:** ![cbarley10](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbarley10/32/50727_2.png) [@cbarley10](https://community.hubspot.com/u/cbarley10)\
**Post date:** [September 20, 2019, 9:14pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/3 "2019-09-20T21:14:10Z")

</div>

Hey Riccardo! That’s a great idea to have some sort of API key partitioning. It is not a possibility at this time within HubSpot, butI’ve heard of it before, and I’ve found [a post](https://community.hubspot.com/t5/HubSpot-Ideas/HAPI-Key-Security/idi-p/255492) in the ideas forum that mentions a similar thing. I’d start there since the more upvotes it gets, the better change it has of becoming a reality 🙂

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [September 23, 2019, 3:14pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/4 "2019-09-23T15:14:37Z")

</div>

Thanks for jumping in, @cbarley10!

@RiccardoPisani, I’ve already upvoted that feature request, but the more requests like these we get, the more likely the product team will prioritize its development.

---

<div class="post-metadata">

**Author:** ![RiccardoPisani](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/riccardopisani/32/104209_2.png) [@RiccardoPisani](https://community.hubspot.com/u/RiccardoPisani)\
**Post date:** [October 1, 2019, 10:08am UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/5 "2019-10-01T10:08:04Z")

</div>

Hi there, that would be great!

Do you think that HubSpot could provide me with a summary of the number of API calls grouped by day and IP / domain from last 8 weeks.

Thanks a ton

Riccardo

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [October 2, 2019, 8:18pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/6 "2019-10-02T20:18:56Z")

</div>

Hi, @RiccardoPisani.

I’ll DM you. I might be able to meet you half way.

---

<div class="post-metadata">

**Author:** ![GregoryB](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gregoryb/32/84335_2.png) [@GregoryB](https://community.hubspot.com/u/GregoryB)\
**Post date:** [September 21, 2020, 2:25pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/7 "2020-09-21T14:25:53Z")

</div>

I totally agree.

This is a must have feature especially when you ask third party developper to access a specific part of Hubspot. I would like or example give an access to a web agency to develop content without having access to our customer database.

---

<div class="post-metadata">

**Author:** ![matheusjiran](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matheusjiran/32/12336_2.png) [@matheusjiran](https://community.hubspot.com/u/matheusjiran)\
**Post date:** [June 29, 2021, 4:29pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/8 "2021-06-29T16:29:27Z")

</div>

This would be awesome!! Having more than 1 API key can help governance, shutdowns, and security.  
If some other application is integrated with HubSpot and has been compromised, I could only turn off or rotate that API Key, without having to go over all other applications to reset the API Key.  
Also, would help sunset integrations easily just by revoking that API key.  
Keeping a Log for each API Key, and having in the property details’ view informing the name of the API Key that authorized that update. Many times I see the property was updated via API but from where? This would also improve trackability, troubleshooting, and governance.

![matheusjiran_0-1624984013381.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/e/fef9f7bfdd442d074b95549111c52d1fcb935550.png)

Imagine a lot of growing companies use HubSpot, they change systems at a high pace, and integrations are built and demolished constantly. This would help a lot the operations of growing companies.

Saw this on Stripe is genius!!

---

<div class="post-metadata">

**Author:** ![EPopa](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/epopa/32/26012_2.png) [@EPopa](https://community.hubspot.com/u/EPopa)\
**Post date:** [November 22, 2021, 2:44pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/9 "2021-11-22T14:44:44Z")

</div>

Realy need this “downtime” fixed.

Amazon Web Services uses 2 keys at a time so you can rotate them with no downtime.

---

<div class="post-metadata">

**Author:** ![JYoder](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jyoder/32/44643_2.png) [@JYoder](https://community.hubspot.com/u/JYoder)\
**Post date:** [March 17, 2022, 4:48pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/10 "2022-03-17T16:48:24Z")

</div>

I agree the idea would be helpful. I’m not sure how likely this one is to happen since its been open a long time.  
I have added a separate idea that maybe more likely to get implemented, where we can just have the “Rotate and expire later” option added, so we can at least have 2 for a short time frame. This is already present on Private/Public Apps.

[https://community.hubspot.com/t5/HubSpot-Ideas/Add-quot-Rotate-and-expire-later-quot-to-API-Key/idi-p/596817](https://community.hubspot.com/t5/HubSpot-Ideas/Add-quot-Rotate-and-expire-later-quot-to-API-Key/idi-p/596817)

---

<div class="post-metadata">

**Author:** ![JBonfante](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbonfante/32/194183_2.png) [@JBonfante](https://community.hubspot.com/u/JBonfante)\
**Post date:** [March 28, 2022, 6:10am UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/11 "2022-03-28T06:10:32Z")

</div>

yes this please…

---

<div class="post-metadata">

**Author:** ![MKnoedgen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mknoedgen/32/88881_2.png) [@MKnoedgen](https://community.hubspot.com/u/MKnoedgen)\
**Post date:** [April 25, 2022, 1:43pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/12 "2022-04-25T13:43:46Z")

</div>

This is definitely needed for us as well. Along with the options to integrate some form of rights concept so I can give our external developers different rights. This is also a GDPR issue for us as not everybody should have access to contact data.

---

<div class="post-metadata">

**Author:** ![laurieq](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/laurieq/32/101395_2.png) [@laurieq](https://community.hubspot.com/u/laurieq)\
**Post date:** [May 27, 2022, 6:51pm UTC](https://community.hubspot.com/t/allow-more-than-one-active-api-key-at-a-time/17924/13 "2022-05-27T18:51:11Z")

</div>

Hi all, we’ve introduced Private Apps as the new and improved alternative to API Keys. When rotating a private app access token, you can choose to expire the original access token at a later time. You can also create multiple private apps in one account and restrict its access to just what the app needs. To learn more, view our [Private App documentation](https://developers.hubspot.com/docs/api/private-apps).
