How do I create a custom API endpoint

How do I create a custom API endpoint on botpress and programmatically send the message to this endpoint and get it in request.

Hi @deuslicht ,

What version are you using?