APIs & Integrations

PKamble2
メンバー

Marketing Email API and authentication

Hi,
We have been using apikey to authenticate single send api to send email in our integration.
As per https://developers.hubspot.com/docs/api/intro-to-auth , should we migrate to Oauth authentication since  apikey is going to be sunset?

0 いいね!
2件の返信
Jaycee_Lewis
コミュニティーマネージャー
コミュニティーマネージャー

Marketing Email API and authentication

Hey, @PKamble2 👋 That is correct. If you are using an endpoint that uses OAuth or an API key for Authorization, such as the Send a single transactional email API:

POST /email/public/v1/singleEmail/send

 will need to be updated to use OAuth before the sunset in November — Working with OAuth

 

— Jaycee

 

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 いいね!
PKamble2
メンバー

Marketing Email API and authentication

Hi Jaycee.
Thanks for clarification.
I created a Private App for my account and am using the  default static bearer token for authentiating my  api calls.
When I invoke  /crm/v3/objects/contacts APIs, I am seeing those calls under my private app logs.
However with single send api,  Send a single transactional email API: I was able to send email, but I do not see the log of this call under my 'Private app' logs.

Am I missing something?  Is this behaviorof the logs for the Public api normal?


Also how can I change  the static bearer token to create dynamic  token by using secret and client id for my 'Private app'?


Apprerciate your reposne soon.

0 いいね!