← Back to Changelog
Previous Attributes on Webhooks

Previous Attributes on Webhooks

November 29, 2021

Directory user and group webhook update events now include a previous_attributes property that show changes since the last snapshot of the user or group. The value in `previous_attributes` is an object that contains names and values of attributes that have changed.

We are sending along shallow changes in root properties, raw attributes, and custom attributes. If a new attribute is added in the current snapshot that did not exist previously, then the previous_attributes object will contain the attribute name with a`null` value.

Get Started Today

Our team of Developer Success Engineers would be delighted to chat with you about WorkOS features and how to make your app enterprise-ready.

This site uses cookies to improve your experience. Please accept the use of cookies on this site. You can review our cookie policy here and our privacy policy here. If you choose to refuse, functionality of this site will be limited.