Facebook webhook server?

Is there any way to use my home assistant server as a webhook callback for facebook messenger api?

I tried using nodered but got issues.

I use http in node and type this callback to facebook config : https://[mydomain]:1880/endpoint/facebook, but nodered need authentication so it dont trigger anything in nodered

I also tried webhook node and this callback url inside facebook: https://[mydomain]:[homeassistantport]/api/webhook, it triggered the webhook node with data, but I dont know how to send the response back to the facebook server (including statusCode 200)