Get Hubspot Api Key From Token

Hello

I want to get hubspot api key from access or refresh token.

please tell me about this

Thanks

Vinod Kumar

Hi, @vkcadmin.

Apologies for the delayed response.

For security, it is not possible to retrieve HubSpot production or developer API key values via API, even if you have an OAuth access token to the account. The keys must be viewed in the UI.

What is your use case? Perhaps I can still help you achieve it.

Hi @IsaacTakushi! Someone in my account has changed my API Key. Is it possible to restore it somehow?

It would bring a lot of complexity to re-do all the integrations previously made

Hi, @Douglas_P.

Thanks for reaching out.

Unfortunately, it is not possible to revert API keys once they have been rotated.

While we do not have information on where your old API key may be used, please let me know if there is anything else I can do to assist.