HubSpot · Schema
SmtpToken
Represents an SMTP API token for transactional email sending
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The unique identifier for the SMTP token |
| campaignName | string | The name of the email campaign associated with this token |
| emailCampaignId | string | The ID of the associated email campaign |
| createContact | boolean | Whether sending an email creates a contact if one doesn't exist |
| createdAt | string | When the token was created |
| createdBy | string | The user or application that created the token |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/marketing-emal-api-smtp-token-schema.json",
"title": "SmtpToken",
"description": "Represents an SMTP API token for transactional email sending",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier for the SMTP token",
"example": "smtp-token-abc123"
},
"campaignName": {
"type": "string",
"description": "The name of the email campaign associated with this token",
"example": "Password Reset Emails"
},
"emailCampaignId": {
"type": "string",
"description": "The ID of the associated email campaign",
"example": "campaign-xyz789"
},
"createContact": {
"type": "boolean",
"description": "Whether sending an email creates a contact if one doesn't exist",
"example": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "When the token was created",
"example": "2024-01-15T10:30:00.000Z"
},
"createdBy": {
"type": "string",
"description": "The user or application that created the token",
"example": "[email protected]"
}
},
"required": [
"id",
"createdAt",
"createdBy",
"campaignName",
"createContact"
]
}