GET
/
email
/
public
/
v1
/
smtpapi
/
tokens
List SMTP API Tokens
curl --request GET \
  --url https://api.hubapi.com/email/public/v1/smtpapi/tokens \
  --header 'Authorization: Bearer <token>'
[
  {
    "portalId": 123,
    "userName": "<string>",
    "emailCampaignId": 123,
    "createdAt": 123,
    "deleted": true,
    "createdBy": "<string>",
    "appId": 123,
    "campaignName": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Response

200
application/json

List of SMTP API tokens

The response is of type object[].