Predict action with intent by using any endpoint?

Using Rest APIs, Is it possible to predict next action by parsing intent instead of message text?

The next action is predicted by a policy (see Policies). A policy takes into account the previous conversational steps and the current message with its intent and entities.

I’m not sure what you want to achieve. You cannot predict the next action by an endpoint. Can you explain in more details what you want to do?

HTTP API Add a message to a tracker is parsing a message to the conversation tracker, by using that endpoint we can parse intent instead of message by passing text query parameter text as /<intent name>, then the predict next action is depending on the parsed intent, that is what i wanted, thanks for your support,