HubSpot · JSON Structure

Marketing Emal Api Smtp Token Create Request Structure

Request body for creating an SMTP token

Type: object Properties: 2 Required: 2
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

SmtpTokenCreateRequest is a JSON Structure definition published by HubSpot, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

campaignName createContact

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/marketing-emal-api-smtp-token-create-request-structure.json",
  "name": "SmtpTokenCreateRequest",
  "description": "Request body for creating an SMTP token",
  "type": "object",
  "properties": {
    "campaignName": {
      "type": "string",
      "description": "The name for the email campaign",
      "example": "Order Confirmation Emails"
    },
    "createContact": {
      "type": "boolean",
      "description": "Whether to create contacts for recipients who don't exist",
      "example": true
    }
  },
  "required": [
    "campaignName",
    "createContact"
  ]
}