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'"


#1

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-xxxxxxxxxxxxx
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”
}


#2

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.