2
API Interface to Get USER info
Question asked by Merle Wait - 12/27/2019 at 3:00 AM
Unanswered
Am trying to get USER info... (name, password.. et al) ....
but the documentation shows getting a GUI for that USERID... but where then, do I get GUI ID from ?

1 Reply

Reply to Thread
0
Dennis A. Replied
Hi Merle,

Are you using the SOAP API or REST API?

For the REST API, there's two endpoints available that you can use (no GUID needed):

Get user based on his email address (only admins can do this!):
https://your-server/api/v1/settings/sysadmin/user/{email}
and 
Get user info of user that's currently logged in to the API:
https://your-server/api/v1/settings/user
If you need some more help/guidance, I'm happy to provide a sample for C# in my demo repository: https://github.com/fits4all/smartermail-rest-api-examples 

Reply to Thread