Basic Code to use Python to fetch list of all users invited to the organization.
Script will use the REST Admin API to perform the actions.
How to use:
- Class wrapper for Admin API can be downloaded from the link: Python Admin API Library Wrapper
- Use the code below, update the Admin API Key
mySplit = SplitAPI.SplitAPI('Admin API Key')
users = mySplit.GetUsers()
for user in users:
print (user['email'], user['status'])