Zum Hauptinhalt springen
GET
/
marketing
/
v3
/
transactional
/
smtp-tokens
キャンペーン名またはemailCampaignIdを使用してSMTP APIトークンを照会します。
curl --request GET \
  --url https://api.hubapi.com/marketing/v3/transactional/smtp-tokens \
  --header 'Authorization: Bearer <token>'
{
  "paging": {
    "next": {
      "link": "",
      "after": ""
    }
  },
  "results": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "password": "<string>",
      "createdBy": "<string>",
      "createContact": true,
      "id": "<string>",
      "emailCampaignId": "<string>",
      "campaignName": "<string>"
    }
  ]
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール
この API には、次のいずれかのスコープが必要です。
transactional-email

Authorizations

Authorization
string
header
required

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

Query Parameters

campaignName
string

SMTP APIトークンにひも付けられているキャンペーンの名前。

emailCampaignId
string

トークン作成時に指定されたキャンペーンに割り当てられているID。

after
string

次の結果のセットを取得するための開始点。

limit
integer

返すトークンの最大数。

Response

successful operation

results
object[]
required
paging
object
I