I am trying to create Splunk Alert using REST API. I am trying to use the saved search for the purpose.
services/saved/searches
This previous answer will point you to the REST API document about this which you could use to do this via the REST API.