Hi Team,
Hope you’re doing well!
Currently, we onboard users manually—assigning them to the correct groups and applying the appropriate licenses.
We are working on automating this process, and during testing, I found two APIs:
Invite users and assign groups:
POST https://cloud.uipath.com/company/portal_/api/identity/User/InviteUsers
Body:
{
"inviteData": [
{
"name": "John Smith",
"email": "john.smith@example.com",
"groupIds": [
"11111111-1111-1111-1111-111111111111",
"22222222-2222-2222-2222-222222222222"
]
}
],
"language": "en",
"orgName": "ExampleCompany"
}
Assign licenses:
POST https://cloud.uipath.com/company/portal_/api/license/accountant/UserLicense
Body:
{
"userIds": ["aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"],
"licenseCodes": ["LICENSE1"],
"useExternalLicense": false
}
However, I discovered that APIs under the portal_/api path cannot be accessed via external tools like Postman or custom UiPath automations, as they require the authentication method used during Portal login.
Given this, I’d like to ask if there are any official endpoints available to:
- Invite users
- Assign them to groups
- Apply licenses
Having such endpoints would be extremely helpful and save a lot of time in our daily operations.
Thank you very much!