SMTP Tokens

Query SMTP API tokens by campaign name or an emailCampaignId.

Changed on

Query multiple SMTP API tokens by campaign name or a single token by emailCampaignId.

get/marketing/transactional/2026-09/smtp-tokens

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/marketing/transactional/2026-09/smtp-tokens
  • Auth
    OAuth 2
    Authorization code: https://app.hubspot.com/oauth/authorize
    Token URL: https://api.hubapi.com/oauth/v1/token scopes: transactional-email

Query parameters

afterstring

The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.

campaignNamestring

Filter the results by the name of the campaign. This is a string parameter.

emailCampaignIdstring

Filter the results by the unique identifier of the email campaign. This is a string parameter.

limitinteger

The maximum number of results to display per page.

Response

successful operation

Changes