APIs & Integrations

devphoenix
Membre

How to validate the APPID and API key

Résolue

Hi Team,


Use case: 

How we can validate that the APPID and APIKEY belongs to the same account.
Example: my account Phoenix have one APP and APPID is xyz123 and the same account have APIKEY 89898989.. 
How I can validate at third party platform that both are from same account. Is there any valdation API I can use??
Thanks

0 Votes
1 Solution acceptée
devphoenix
Solution
Membre

How to validate the APPID and API key

Résolue

Thanks for the response.

My basic requirement is to validate the APP-ID and API Key is associated with the same account.
The api key is belong to the development account, here

devphoenix_0-1706692308059.png

devphoenix_1-1706692327566.png

So, here the validation between the HubSpot API Key and the APP-ID, which respresents that the both are from the same account.

 

Note: It's urgent for my project.

Thanks




Voir la solution dans l'envoi d'origine

0 Votes
2 Réponses
Jaycee_Lewis
Gestionnaire de communauté
Gestionnaire de communauté

How to validate the APPID and API key

Résolue

Hi, @devphoenix 👋 Thanks for your question. There isn't a specific API endpoint provided by HubSpot for directly validating the association between an APP ID and an API Key to confirm they belong to the same account (I assume you mean a Private or Public App auth token and not an API key). 

 

Validation authenticates a request to an endpoint that requires authorization and checks if the operation succeeds, but this doesn't directly verify the APP ID association. 

 

Working with OAuth

Managing tokens

Authentication methods on HubSpot

 

Please let me know if you have any additional questions. —Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Votes
devphoenix
Solution
Membre

How to validate the APPID and API key

Résolue

Thanks for the response.

My basic requirement is to validate the APP-ID and API Key is associated with the same account.
The api key is belong to the development account, here

devphoenix_0-1706692308059.png

devphoenix_1-1706692327566.png

So, here the validation between the HubSpot API Key and the APP-ID, which respresents that the both are from the same account.

 

Note: It's urgent for my project.

Thanks




0 Votes