# User Management

Create, update, and manage system users within your organization. Users can be admins, supervisors, or agents. Manage agent availability for live chat assignment, set concurrent chat limits, and handle password changes. Each user belongs to a client and can be assigned to teams.

 - [GET /payless4messaging-service/WhatsApp/api/v1/users/me](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getme.md): Returns the authenticated caller's own profile as a credential-free `UserResponse`.
 - [GET /payless4messaging-service/WhatsApp/api/v1/users](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/listclientusers.md): Returns every user in the authenticated client's organization as a lean summary — id, name, email, role, live-chat role, avatar, and availability — with **no credentials or secrets**. Use this to popu
 - [POST /payless4messaging-service/WhatsApp/api/v1/users](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/createuser.md): Create an organization user. Takes **no password** — a one-time temporary password is generated and returned once in the response; the user must set their own password on first login. The client is ta
 - [PUT /payless4messaging-service/WhatsApp/api/v1/users](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/updateuser.md): Update an organization user's profile, identified by `id`. Carries no credentials and returns a credential-free `UserResponse`.
 - [DELETE /payless4messaging-service/WhatsApp/api/v1/users/{id}](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/deleteuser.md): Soft-deletes an organization user, identified by `id`: the user is disabled, signed out, and removed from any teams, but the record is retained. Carries no credentials.
 - [GET /payless4messaging-service/WhatsApp/api/v1/users/page](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getuserspage.md): Retrieve a paginated list of a client's users as credential-free `UserResponse` records.
 - [PUT /payless4messaging-service/WhatsApp/api/v1/users/availability](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/changeavailability.md): Toggle the authenticated agent's online/offline status; returns a credential-free `UserResponse`.
 - [PUT /payless4messaging-service/WhatsApp/api/v1/users/agent-chat-limit](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/setagentchatlimit.md): Set the maximum number of concurrent chats an agent can handle for the given client.
 - [POST /payless4messaging-service/WhatsApp/api/v1/users/me/password/change](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/changemypassword.md): Change the authenticated caller's own password. Requires old password, new password, and confirmation.
 - [GET /payless4messaging-service/WhatsApp/api/v1/users/me/credits](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getmycredits.md): Retrieve the WhatsApp credit balance for the authenticated caller.
 - [POST /payless4messaging-service/WhatsApp/SystemUsers](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/createsystemuser.md): **Deprecated.** Accepts and returns credential-bearing `SystemUser` fields. Use [Create a user](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/createuser) (`POST /api/v1/us
 - [PUT /payless4messaging-service/WhatsApp/SystemUsers](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/updatesystemuser.md): **Deprecated.** Accepts and returns credential-bearing `SystemUser` fields. Use [Update a user](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/updateuser) (`PUT /api/v1/use
 - [GET /payless4messaging-service/WhatsApp/SystemUsers/getCurrentLoginSystemUser](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getcurrentuser.md): **Deprecated.** Returns credential-bearing `SystemUser` fields. Use [Get my profile](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/getme) (`GET /api/v1/users/me`), which r
 - [GET /payless4messaging-service/WhatsApp/SystemUsers/getCurrentClientUsers](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getclientusers.md): **Supervisor-only.** Returns the full `SystemUser` records for the client (including credential-bearing fields), so it is restricted to callers with the supervisor role and returns `403` otherwise. Fo
 - [GET /payless4messaging-service/WhatsApp/SystemUsers/getUsersForClient](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getusersforclient.md): **Deprecated.** Returns credential-bearing `SystemUser` records. Use [List users (paginated)](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/getuserspage) (`GET /api/v1/use
 - [PUT /payless4messaging-service/WhatsApp/SystemUsers/changeAvailableStatus](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/changeavailabilitystatus.md): **Deprecated.** Returns credential-bearing `SystemUser` fields. Use [Change availability](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/changeavailability) (`PUT /api/v1/u
 - [PUT /payless4messaging-service/WhatsApp/SystemUsers/updateAgentChatLimit](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/updateagentchatlimit.md): **Deprecated.** Use [Set agent chat limit](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/setagentchatlimit) (`PUT /api/v1/users/agent-chat-limit`). Behaviour is identical.
 - [POST /payless4messaging-service/WhatsApp/SystemUsers/changePassword](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/changepassword.md): **Deprecated.** Use [Change my password](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/changemypassword) (`POST /api/v1/users/me/password/change`). Behaviour is identical.
 - [GET /payless4messaging-service/WhatsApp/SystemUsers/getWhatsAppCreditsForCurrentLoginUser](https://docs.ecommunicate.co.za/apis/omnichannel/user-management/getwhatsappcreditsforcurrentloginuser.md): **Deprecated.** Use [Get my WhatsApp credits](https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/getmycredits) (`GET /api/v1/users/me/credits`). Behaviour is identical.
