Here is the exact REST API you need to call to Run an Indexer (which in turn refreshes the index)
https://learn.microsoft.com/en-us/rest/api/searchservice/run-indexer