Mapping legacy webhooks in the new API