You're among the first to explore our new HubSpot developer docs. Dive in and share your feedback here.
Marketing
English
cURL
curl --request POST \ --url https://api.hubapi.com/marketing/v4/email/single-send \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "customProperties": "{\"customProperty1\":\"value1\",\"customProperty2\":\"value2\"}", "emailId": 123, "message": { "cc": [ "<string>" ], "sendId": "<string>", "bcc": [ "<string>" ], "replyTo": [ "<string>" ], "from": "<string>", "to": "<string>" }, "contactProperties": "{\"lastname\":\"doe\",\"firstname\":\"john\"}" }'
{ "eventId": { "created": "2023-11-07T05:31:56Z", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }, "completedAt": "2023-11-07T05:31:56Z", "statusId": "<string>", "sendResult": "SENT", "requestedAt": "2023-11-07T05:31:56Z", "startedAt": "2023-11-07T05:31:56Z", "status": "PENDING" }
marketing-email
transactional-email
The access token received from the authorization server in the OAuth 2.0 flow.
A request to send a single email asynchronously.
successful operation
Describes the status of an email send request.
Was this page helpful?