APIs & Integrations

NodeFrame_Solut
Member

I got an error message while sending Single Email Api "Content is not valid for use with single send API. Requires subcategory 'single_send_api'"

I got an error message “Content is not valid for use with single send API. Requires subcategory ‘single_send_api’” in single send api i don’t know what that means

POST
https://api.hubapi.com/email/public/v1/singleEmail/send?hapikey=05c8c3be-1a59-xxxx-xxxx-xxxxxxxxxxxx...
With Payload
{
“emailId”: 5032xxxxxx,
“message”: {
“to”: "xxxxx@xxx.xxx"
}
}

{
“status”: “error”,
“message”: “Content is not valid for use with single send API. Requires subcategory ‘single_send_api’”,
“correlationId”: “472d5d80-bcfa-4d77-b8e5-5499aea8a210”,
“sendResult”: “MISSING_REQUIRED_PARAMETER”,
“requestId”: “22147265d9e7d29f590d7d4bb9936fca”
}

0 Upvotes
1 Reply 1
Dadams
HubSpot Employee
HubSpot Employee

I got an error message while sending Single Email Api "Content is not valid for use with single send API. Requires subcategory 'single_send_api'"

Hi @NodeFrame_Solution

You’ll need to make sure that the email has been saved for use with the single-send API, and not saved for automation or manually sent.

How to use Single-Send in an email to merge custom properties

After getting set up with transactional email in HubSpot, this article will show you how to create a new email for use with single-send API.

0 Upvotes