There's a new version of the HubSpot API
As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.
The SMTP API is used when sending transactional email through HubSpot. Please note that in order to use this API, you must purchase Transactional Email as an add-on, which includes use of a unique, dedicated IP address.
Transactional email sent using the SMTP API is automated email that is triggered by specific criteria, such as making a purchase on an e-commerce website. The SMTP API is used to integrate with any internal or third-party systems to both trigger the email and incorporate data stored outside of HubSpot (e.g. shipping data, purchase price, etc). The email is sent from your system, but is wrapped with the HubSpot tracking codes that allow full engagement tracking and measurement, so you can see the performance within HubSpot. Tracking is associated to contact records based on email address.
Using the SMTP API
In order to send emails using the SMTP API, you will need to make use of SMTP API tokens. The three methods outlined in this documentation all deal with these tokens and have counterparts in the Transactional Email UI, which can be used to obtain the same information. Here we will take a look at which parts of the UI correspond to these methods.
1. List SMTP API Tokens
2. Generate SMTP API Tokens
3. Reset Password