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

Constructors

Properties

campaignName: string

A name for the campaign tied to the token.

createContact: boolean

Indicates whether a contact should be created for email recipients.

createdAt: Date

Timestamp generated when a token is created.

createdBy: string

Email address of the user that sent the token creation request.

emailCampaignId: string

Identifier assigned to the campaign provided in the token creation request.

id: string

User name to log into the HubSpot SMTP server.

password?: string

Password used to log into the HubSpot SMTP server.

attributeTypeMap: {
    baseName: string;
    format: string;
    name: string;
    type: string;
}[] = ...
discriminator: undefined | string = undefined

Methods