Please let me know the API to create a new user in Service Desk using PAM workflow and the usage of the same.
Can you achieve this by invoking the SDM SOAP API and calling the createObject method?
If you have access to the SDM documentation then the technical reference has the SOAP API and the method documented. You don't mention the version of your SDM installation but knowing how much the chapter names have changed during the past 7 years I'd say it's pretty certainly chapter 7 on the tech ref and under the "Miscellaneous Methods" subchapter.
If you don't have the documents then you can extract the WSDL for the SOAP API on http://<your server>:<port for Tomcat, default is 8080>/axis/services/USD_R11_WebService?wsdl and continue from there
Retrieving data ...