Contentful logo

Contentful Community

Can I get deletedBy on delete webhook?

Hello Contentful Guys!

I am currently implementing contents’ history logger on my app.
So I looked into request data on each webhooks, and found there’s no deletedBy or updatedBy in delete webhook, additionally no updatedBy on unpublish webhook as well.

Is there any way to get those data on delete/unpublish webhook?

Kind regards,
Ansun

Hi @ansun.shin1,

Our Webhook API indeed doesn’t retrieve any information about who actually performed these changes. However, you could concurrently send a separate GET request to our Management API and obtain that information from your given entry.

For deletions, however, that would unfortunately not be possible.

Hi Gabriel!

Alright. I’ll try the way you suggested!
Thanks for your quick answer always :smiley:

Best,
Ansun