Is there any way to set Slot by API not by action

Any updates on how to do this with Rasa 3.1.0?