Partner/account company-admin user management (bearer token whose user's company is a partner bundle_id=1 or account bundle_id=3).
Partner/account company-admin user management (bearer token whose user's company is a partner bundle_id=1 or account bundle_id=3). List all users in the company with roles/locations/accounts (GET users/list), create (POST users/partner/add) and edit (POST users/partner/edit) partner users, fetch a single partner user's details (POST users/partner/details), and impersonate a child company/user or parent partner user (POST users/impersonate). No throttle; scope enforced in-controller and via an ownership check.
Prerequisites
- A bearer token in the
Authorizationheader. Any endpoint that needs no token says so on its own page. - The id of each record the call targets. Every endpoint page lists the ids it needs.
Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
403 | The token is valid but the record sits outside your account |
422 | The request failed validation — the response names the fields |
500 | Unexpected server error |
Individual endpoints may return more; each page lists its own.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | List company users (roles, locations, accounts) | List every non-deleted user in the authenticated caller's company with their role, assigned locations and assigned accounts. |
POST | Create partner user | Create a new user under the authenticated partner company, sets their role (admin / assign_brand / basic), optionally assigns account access and default reports, and emails first-login credentials via the white-label-aware welcome email. |
POST | Edit partner user | Update an existing partner user's name/title, role, account assignments, optional password and deactivation date. |
POST | Get partner user details | Returns the full detail of a single partner user (identified by user_id) including derived user_type, role, assigned locations and assigned accounts. |
POST | Impersonate user or company owner | Mint a login token that lets the caller act as another user or a company's owner. |
