When I was using the post webhook, I could do
add_to_serializer(:web_hook_post, :category_import_id, false) in a plugin to add extra field in the payload.
I’m trying to do the samething for topic, I found that there’s only web_hook_topic_view, but add_to_serializer does not work and causes 500 error.
Do I have to create a custom serializer myself in the plugin?