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 'Authorization: Bearer <token>' \
  --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
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Response

200
application/json

Email send request processed

The response is of type object.