Have webhooks been updated to fetch contact status in subscription type? | Community
Skip to main content

Has the webhook been updated to retrieve the subscription status of contacts?
I need to sync my application with the subscription preferences expressed by users.

Currently, I’m using the user.unsubscribed webhook to track when users unsubscribe via SMS. However, the product team has requested that I also sync contacts who had previously been automatically unsubscribed during the period when unsubscribe tracking wasn’t yet in place.

Hey!

Afaik, the user.unsubscribed webhook only triggers for unsubscribes that happen after it’s set up. It sadly wont send info for users who were already unsubscribed before the webhook was created/deployed.

If you want to sync historical subscription data, a potential workaround is to pull the contacts directly from Intercom using the Contacts API. then you can check each contact’s unsubscribed_from_emails and unsubscribed_from_sms fields and update your application accordingly

This way you covered future unsubscribes, and for past ones cover it by the API sync.
Hope it helps!


Hey there ​@robin.nguyen, Emily here from Support Engineering at Intercom 👋🏼

 

To sync your application with users’ subscription preferences you can update users as unsubscribed in Intercom by uploading a CSV file.

Here’s how 👇🏼

  • Prepare a CSV with two columns: "email" and "unsubscribed_from_emails" (set to true for each relevant user).
  • Go to the Contacts page in Intercom and choose to import users via CSV.
  • Map the Email field, skip others, and when prompted, select "unsubscribed_from_emails" as a new custom attribute (Boolean type).
  • Complete the import to update the unsubscribe status for these users.