Administration/Users

Impersonate a user (admin only)

Returns the target user merged with their impersonated company (primary company, or companyId when the user has none), matching the shape of a normal login response.

get/api/admin/users/{id}/impersonate

Path parameters

idstring required

Query parameters

companyIdstring

Response

Default Response

idstring required
firstNamestring nullable required
lastNamestring nullable required
emailstring nullable required
primaryCompanyIdstring nullable required
primaryRolestring nullable required
rolestring nullable required
companyIdstring
preferencesobject required

Changes