APIs & Integrations

Bakytk
Member

Webhook on "unsubscribed_from_all_emails"

Hello, my questions might be a duplicate to a post somewhere else but haven't seen a recent post: can we listen to property_change event on field: "unsubscribed_from_all_email"? I understand we may NOT unsubscribed/re-subscribe user on his/her behalf neither from REST API or UI, but at least we want to receive a notification to eg : http://my.api.com with JSON: { email: a, id: x, unsubscribed_from_all_email: true} - is this possible?

0 Upvotes
2 Replies 2
dennisedson
HubSpot Product Team
HubSpot Product Team

Webhook on "unsubscribed_from_all_emails"

@Bakytk , you should be able to subscribe to the property hs_email_optout and track that

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes
Bakytk
Member

Webhook on "unsubscribed_from_all_emails"

Hey @dennisedson 

It would be great if it was that straightforward, but first, there's no such field "hs_email_optout" in drop-down list (see screenshot)

Secondly, somewhere in old forums saw that this field could be listened through "workflows" but can't find that post, and so how no clue how to set it up

screen.png