Reporting a bulk of emails into the CRM.

Hello,

I’m trying to report emails sent to contacts.

Most contacts are already defined in HubSpot, some may not be.

I have a list of email messages (subject, message, to_email) and a sender which is registered to HubSpot.

I have all the data required, but I cannot get email messages saved into the contacts’ activity logs using the /crm/v3/objects/emails/batch/create endpoint.
Can anyone provide working examples of payloads for POSTing to this API? I tried so many approaches, all didn’t work.

Thank you,

Skulas.

Hi @skulas

You can refer to the link attached, try with this

https://legacydocs.hubspot.com/docs/methods/engagements/create_engagement

If still your query is not resolved feel free to share.

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!

Hi @GRajput,

thank you for your response.

I saved a link to this page, thanks!
I am using a newer endpoint,

https://api.hubapi.com/crm/v3/objects/emails/batch/create
Found how to make it work.

Thank you again.