Hi everyone, i’m new using hubspot api
Trying to make a mass suppression of all mail type activities from a specific date but i can’t manage to find a way to.
Thanks for your help
Hey, @Fredsz
Welcome to our community! Can you tell us more about what you’ve already tried? Furthermore, what exactly do you mean by suppress? Would that be deleting these engagements? Or are you looking to keep them but “hide” them from being seen on a record’s timeline?
My gut says you will need at lest two separate API calls to accomplish your goal. One for to get the IDs for your Contacts who have the engagement you want to suppress. You can archive emails by ID for example, but there is not a suppression action available in the endpoint documentation.
Two places to start:
- Use the Search API to find the contacts who have this engagement and collect the IDs
- Try with a singe contact and the Engagements API archive option to see if it works like you want it
I’ve noticed in my experience with our amazing community members that you are more likely to get a reply when you are specific and share the steps you’ve already taken, versus only asking if something is possible. It’s because the answer is often “maybe” or “it depends” without understanding of the steps you’ve already attempted.
Have fun building! — Jaycee