HubSpot · JSON Structure

Marketing Emal Api Smtp Token Structure

Represents an SMTP API token for transactional email sending

Type: object Properties: 6 Required: 5
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

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

Properties

id campaignName emailCampaignId createContact createdAt createdBy

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-structure.json",
  "name": "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": "datetime",
      "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": "user@example.com"
    }
  },
  "required": [
    "id",
    "createdAt",
    "createdBy",
    "campaignName",
    "createContact"
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/marketing-emal-api-smtp-token-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.