SMTP Tokens
Create a SMTP API token.
Create a SMTP API token.
POST
Create a SMTP API token.
Supported products
Supported products
Required Scopes
Required Scopes
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
FlowAuthorization Code
- Authorization URL
- https://app.hubspot.com/oauth/authorize
- Token URL
- https://api.hubapi.com/oauth/v1/token
Scopes1
transactional-email
Body
application/json
Response
successful operation
A name for the campaign tied to the token.
Indicates whether a contact should be created for email recipients.
Timestamp generated when a token is created.
Email address of the user that sent the token creation request.
Identifier assigned to the campaign provided in the token creation request.
User name to log into the HubSpot SMTP server.
Password used to log into the HubSpot SMTP server.
Last modified on March 30, 2026