curl --request POST \
--url https://api.hubapi.com/email/public/v1/smtpapi/tokens/{userName}/password-reset{
"portalId": 123,
"userName": "<string>",
"emailCampaignId": 123,
"createdAt": 123,
"deleted": true,
"createdBy": "<string>",
"appId": 123,
"campaignName": "<string>",
"password": "<string>",
"passwordHash": "<string>"
}This endpoint allows for the creation of a replacement password for a given Token, keyed by the userName field. Once the password is successfully reset, the old password for the token will be invalid.
curl --request POST \
--url https://api.hubapi.com/email/public/v1/smtpapi/tokens/{userName}/password-reset{
"portalId": 123,
"userName": "<string>",
"emailCampaignId": 123,
"createdAt": 123,
"deleted": true,
"createdBy": "<string>",
"appId": 123,
"campaignName": "<string>",
"password": "<string>",
"passwordHash": "<string>"
}Scope requirements
The userName field of the SMTP API Token needing a password reset.
Password reset successfully
The portal ID
The SMTP username
The email campaign ID
Creation timestamp
Whether the token is deleted
Email address of the user who created the token
The application ID
Name of the campaign
The SMTP password (only returned on creation and reset)
The password hash