I understood that problem and solved it by reading this link: https://www.luizkowalski.net/validating-mandrill-webhook-signatures-on-rails/