Zum Hauptinhalt springen
POST
/
email
/
public
/
v1
/
smtpapi
/
tokens
/
{userName}
/
password-reset
SMTP API Tokens - Password Reset
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>"
}

Pfadparameter

userName
string
erforderlich

The userName field of the SMTP API Token needing a password reset.

Antwort

Password reset successfully

portalId
integer

The portal ID

userName
string

The SMTP username

emailCampaignId
integer

The email campaign ID

createdAt
integer<int64>

Creation timestamp

deleted
boolean

Whether the token is deleted

createdBy
string

Email address of the user who created the token

appId
integer

The application ID

campaignName
string

Name of the campaign

password
string

The SMTP password (only returned on creation and reset)

passwordHash
string | null

The password hash

Last modified on April 9, 2026