Act as user via API

Jump to solution
Community Explorer

I'm working on a "control center" app for common work tasks. I need a function that takes in a user, then opens a web browser with the signed-in admin acting as that user. I'm scanning all through the docs and can't find any way to activate the "act as". Is there any way to do this via API? If not, any other ideas? Pretty new to Python so any module recommendations would be pretty neat too. 🙂

1 Solution
Community Coach
Community Coach


You can masquerade (or act as) when calling an API by adding this parameter "as_user_id" to your request. You can read more about Masquerading through API here: 📔


View solution in original post