Issue a token that acts as a specific user at a partner or account. Use this to see exactly what one person sees, for example to debug a permissions question. Send the user_id of the user to act as, or the company_id of an account to act as its owner. Returns a token that acts as that user, with the same sign-in details a login returns (user, company, theme_options, white_label).
Prerequisites: a bearer token, and the user's id (from List users) or the account's id (from List accounts).
Authentication: Partner or Account token. The user must be inside your own account tree: a Partner token reaches users at your partner and in any account or location under it, an Account token users at your account and its locations; anyone else returns 403. A token from this call remembers who started the session: with it you can act as anyone inside that original user's tree, or switch back to the original user (you then get a normal token again), but never outside it. Inside your own company you can only act as someone who ranks below you; users further down your tree aren't limited by rank.
Rate limit: none.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
