Newsletter Unsubscribe Webhook

To receive a Webhook notification when a contact of yours unsubscribe from your newsletter, please follow this tutorial on how to set up your webhook first and then check the payload below:



{
  "time": 1589193845,
  "topic": "unsubscribe",
  "data": {
    "user": {
      "data": {
        "app_id": "00992342",
        "user_id": "1",
        "email": "email@company.io",
        "name": "Luca",
        "last_page_viewed": null,
        "last_page_viewed_at": null,
        "ip_address": null,
        "timezone": null,
        "city": null,
        "postal_code": null,
        "region": null,
        "region_code": null,
        "country": null,
        "continent": null,
        "isp": null,
        "browser_name": null,
        "browser_version": null,
        "browser_language": null,
        "os": null,
        "os_version": null,
        "web_session": null,
        "first_seen_at": 1589193001,
        "android_app_name": null,
        "android_app_version": null,
        "android_device": null,
        "android_os_version": null,
        "android_session": null,
        "android_last_seen_at": null,
        "ios_app_name": null,
        "ios_app_version": null,
        "ios_device": null,
        "ios_os_version": null,
        "ios_session": null,
        "ios_last_seen_at": null,
        "last_activity": 1589193602,
        "facebook_profile_id": null,
        "utm_campaign": null,
        "utm_medium": null,
        "utm_source": null,
        "utm_term": null,
        "utm_content": null,
        "referrer": null,
        "rating": null,
        "last_update": "2020-05-11 10:40:02"
      },
      "attributes": {
        "address": " ",
        "cod_fiscale": "",
        "coupon": "",
        "last_name": "Micheli",
        "pid": "",
        "piva": "",
        "registered_at": "1581003120",
        "sid": "",
        "state": "",
        "status": "",
        "subscribed_at": "",
        "trial": "",
        "trial_amount": "",
        "trial_days": "",
        "zip": ""
      },
      "companies": []
    }
  }
}




Please allow for a few minutes to get the webhook notification. If you feel something is not working properly contact us through the live chat here and we will be happy to help πŸ™‚