Sending User Data to Service Now through an API Call - How...

Hello,

We are trying to call a robotic process from Service now through an API as part of an onboarding process.  This is to onboard and offboard users in applications that cannot be managed through RBAC or any other process.  The API call is this:  https://hostedservice.service-now.com/api/test/test_rpa_bot_call01?name=David&email=dd@ya.com.  This would pass the users name and email address to the bot, that would then on its own, log into the user admin process for the associated application and perform a set of preconfigured actions to enroll or disenroll the user.  

We are trying to find the best way to make that API call and include the Username and Email address for the user being onboarded as parameters in the API call (?name=DavidSmith&email=emailaddy@domain.com)

The parameter example is just that, we aren't sure what variables from IDM might need to be included (or how we would capture them) to make this API call.

Thanks for any guidance anyone can provide.