Get current authenticated user via REST api?

I’m trying to find a way to get the current user who is authenticated via the REST api in javascript.
Basically, I want to have a small banner at the top of a webpage that indicates which user is logged in. Like the classic, “You are logged in as Jase. Not you?”

I can’t find anything in the REST api documentation about this and I’m wondering if anyone knows a way to get that info?

Thanks!

1 Like

Hi Jase,

I don’t know myself, I’ve asked some experts their thoughts on this should get back to you soon.

1 Like

For now, I’m adjusting my script so that it saves the username when logging in so I can use it later to look up the active user but I’d love a way to just get it from the API.