Create and expose a custom api in rasa actions server

I want to know if there is a way to creat a custom api endpoint in the rasa actions server.