I attempted to enroll the contact via the API and received the following response:
User XXXXX for Portal XXXXX has no connected inboxes, which are required to enroll from the public API.
Is there any way to address this? A contact with the same email as the user ID already exists. Manual enrollment in the sequence works successfully, but attempting to enroll via the API results in this error.
Hey, @CTHDigital
Can have your Super Admin double check this User’s profile and verify they have their connected inbox? Settings > Users > {User_Name} > Preferences > Connected Accounts, please?
I ran a quick test using one of my dummy Users and got the same error you received:
{
"status": "error",
"message": "User 48394025 for Portal 22245342 has no connected inboxes, which are required in order to enroll from the public API.",
"correlationId": "b8b796b4-6e56-4ba8-9927-04cd63f2cef6",
"context": {
"userId": [
"48394025"
],
"portalId": [
"22245342"
]
},
"category": "BAD_REQUEST",
"subCategory": "SequenceStandardFriendlyError.PUBLIC_ENROLL_NO_CONNECTED_EMAILS"
}
If they have a connected Inbox, I’d recommend opening a support case for this issue. And let support know you aren’t asking for custom coding help, just clarification on the discrepancy between what works in-app vs. using these endpoints.
Best,
Jaycee
Hi Jaycee,
Thank you for your response.
Please find the attached screenshot, which confirms that we have connected accounts. Given this, we will proceed with creating a support ticket to address the issue.
Appreciate your guidance!
@CTHDigital were you able to get this resolved? Is there anything you can share which might help, as I have the same issue.
Hey, @sdifranco
I do not, unfortunately. Maybe @CTHDigital has an update on how support was able to assist them. – Jaycee
Hi @sdifranco and thanks for your patience!
The error occurs because the user enrolling contacts via the API must have a connected inbox in HubSpot.
According to the Sequences API documentation, the senderEmail in your enrollment request must be an email address that’s connected to your HubSpot account.
Can you please try these steps:
- The user whose ID you’re using must connect their email inbox to HubSpot
- Use that connected email address as the senderEmail in your API request
- Ensure the user has an assigned Sales Hub Professional/Enterprise or Service Hub Professional/Enterprise seat
- Manual enrollment works because it uses your connected inbox, but the API requires the specified user to have their own connected inbox.
Here are some resources about it:
- Automation API | Sequences API (BETA)
- Enroll a contact in a sequence
Let us know how it goes!
Have a lovely day!
Bérangère
This post was created with the assistance of AI tools.