HubSpot · Schema

TransactionalEmailRequest

Request body for sending a transactional email

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

Properties

Name Type Description
emailId integer The ID of the transactional email template to use
message object The email message configuration
contactProperties object Properties to set on the contact (if createContact is enabled)
customProperties object Custom template variables for personalization
View JSON Schema on GitHub

JSON Schema

marketing-emal-api-transactional-email-request-schema.json Raw ↑
{
  "$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-transactional-email-request-schema.json",
  "title": "TransactionalEmailRequest",
  "description": "Request body for sending a transactional email",
  "type": "object",
  "properties": {
    "emailId": {
      "type": "integer",
      "description": "The ID of the transactional email template to use",
      "example": 12345678
    },
    "message": {
      "type": "object",
      "description": "The email message configuration",
      "required": [
        "to"
      ],
      "properties": {
        "to": {
          "type": "string",
          "format": "email",
          "description": "The recipient's email address",
          "example": "recipient@example.com"
        },
        "from": {
          "type": "string",
          "format": "email",
          "description": "Override the from address (must be verified)",
          "example": "noreply@yourcompany.com"
        },
        "sendId": {
          "type": "string",
          "description": "A unique ID to prevent duplicate sends",
          "example": "unique-send-id-123"
        },
        "replyTo": {
          "type": "array",
          "description": "Reply-to email addresses",
          "items": {
            "type": "string",
            "format": "email"
          },
          "example": [
            "support@yourcompany.com"
          ]
        },
        "cc": {
          "type": "array",
          "description": "CC email addresses",
          "items": {
            "type": "string",
            "format": "email"
          },
          "example": [
            "jsmith@example.com"
          ]
        },
        "bcc": {
          "type": "array",
          "description": "BCC email addresses",
          "items": {
            "type": "string",
            "format": "email"
          },
          "example": [
            "jsmith@example.com"
          ]
        }
      }
    },
    "contactProperties": {
      "type": "object",
      "description": "Properties to set on the contact (if createContact is enabled)",
      "additionalProperties": {
        "type": "string"
      },
      "example": {
        "firstname": "John",
        "lastname": "Doe",
        "company": "Acme Corp"
      }
    },
    "customProperties": {
      "type": "object",
      "description": "Custom template variables for personalization",
      "additionalProperties": {
        "type": "string"
      },
      "example": {
        "order_number": "ORD-12345",
        "order_total": "$99.99"
      }
    }
  },
  "required": [
    "emailId",
    "message"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/marketing-emal-api-transactional-email-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.