Hello,
You can use invoke-webrequest to call API with required parameters: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.4#example-1-send-a-web-request.
You need to check with the target end for the request and response format to better organization the request and also handle the response, sometimes a JSON or XML.
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.