Rasa X get intent from API


I am trying to get via POST request with a chat message to the server where rasa x is running a response and also the predicted intent, is there a correct api endpoint (the predicted intent is very important to my use case)?

Best, Georgi