POST
/
marketing
/
v3
/
transactional
/
smtp-tokens
/
{tokenId}
/
password-reset
Redefina a senha de um token existente.
curl --request POST \
  --url https://api.hubapi.com/marketing/v3/transactional/smtp-tokens/{tokenId}/password-reset \
  --header 'Authorization: Bearer <token>'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "password": "<string>",
  "createdBy": "<string>",
  "createContact": true,
  "id": "<string>",
  "emailCampaignId": "<string>",
  "campaignName": "<string>"
}
Produtos suportados
Requer um dos seguintes produtos ou superior.
Marketing HubMarketing HubProfessional
Sales HubSales HubGrátis
Service HubService HubGrátis
Content HubContent HubGrátis

Escopos Necessários

Esta API requer um dos seguintes escopos:
  • transactional-email

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

tokenId
string
required

O identificador gerado quando um token é criado.

Response

200
application/json

successful operation

A SMTP API token provides both an ID and password that can be used to send email through the HubSpot SMTP API.