メインコンテンツへスキップ
POST
/
email
/
public
/
v1
/
singleEmail
/
send
Send a single transactional email
curl --request POST \
  --url https://api.hubapi.com/email/public/v1/singleEmail/send \
  --header 'Content-Type: application/json' \
  --data '
{
  "emailId": 123,
  "message": {
    "to": "<string>",
    "from": "<string>",
    "sendId": "<string>",
    "replyTo": "<string>",
    "replyToList": [
      "<string>"
    ],
    "cc": [
      "<string>"
    ],
    "bcc": [
      "<string>"
    ]
  },
  "contactProperties": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "customProperties": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ]
}
'
{
  "sendResult": "SENT",
  "message": "<string>",
  "eventId": {
    "id": "<string>",
    "created": 123
  }
}

ボディ

application/json
emailId
integer
必須

The ID of the email to send. This is content ID for the transactional email, which can be found in email tool UI.

message
object
必須
contactProperties
object[]

A list of JSON objects representing contact property values to set when sending the email.

customProperties
object[]

A list of JSON objects representing property values to set when sending the email. Useful if you have context in the email you don't want to set on the contact record.

レスポンス

Email send request processed

sendResult
enum<string>

The result of the send operation

利用可能なオプション:
SENT,
QUEUED,
PORTAL_SUSPENDED,
INVALID_TO_ADDRESS,
BLOCKED_DOMAIN,
PREVIOUSLY_BOUNCED,
PREVIOUS_SPAM,
INVALID_FROM_ADDRESS,
MISSING_CONTENT,
MISSING_TEMPLATE_PROPERTIES
message
string

A description of the send result details

eventId
object

If sent, the id and created timestamp of the sent event

Last modified on April 13, 2026