GET
/
marketing
/
v3
/
transactional
/
smtp-tokens
/
{tokenId}
Requête d'un seul jeton par ID.
curl --request GET \
  --url https://api.hubapi.com/marketing/v3/transactional/smtp-tokens/{tokenId} \
  --header 'Authorization: Bearer <token>'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "password": "<string>",
  "createdBy": "<string>",
  "createContact": true,
  "id": "<string>",
  "emailCampaignId": "<string>",
  "campaignName": "<string>"
}
Produits pris en charge
Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing HubPro
Sales HubSales HubGratuit
Service HubService HubGratuit
Content HubContent HubGratuit

Portées requises

Cette API requiert l’une des portées suivantes :
  • 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

Identifiant généré lors de la création d'un jeton.

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.