Skip to content

Update a user

Request

Update an organization user's profile, identified by id. Carries no credentials and returns a credential-free UserResponse.

Security
apikeyAuth
Bodyapplication/jsonrequired
idstring, (uuid)required
Example:"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"
clientRefstring
Example:"Growthpoint"
emailstring, (email)
Example:"agent@example.com"
firstNamestring
Example:"Jane"
lastNamestring
Example:"Doe"
mobileNumberstring
Example:"+27123456789"
primaryEmailAddressstring, (email)
Example:"jane@example.com"
liveChatRolestring
Enum:"Agent""Supervisor"
Example:"Agent"
agentChatLimitinteger, (int64)
Example:5
disabledboolean
Example:false
availabilityStatusboolean
Example:true
allowedSharedInboxboolean
Example:true
allowedUnassignedInboxboolean
Example:false
shouldGetNotificationsboolean
Example:true
assignmentMessagestring
Example:"Hi, I'm Jane and I'll be assisting you today."
applicationKeystring
Example:"app-key-123"
applicationClientIdstring
Example:"app-client-123"
userIdstring
Example:"ext-user-123"
curl -i -X PUT \
  https://ecommunicate-api-docs.redocly.app/_mock/apis/omnichannel/payless4messaging-service/WhatsApp/api/v1/users \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901",
    "clientRef": "Growthpoint",
    "email": "agent@example.com",
    "firstName": "Jane",
    "lastName": "Doe",
    "mobileNumber": "+27123456789",
    "primaryEmailAddress": "jane@example.com",
    "liveChatRole": "Agent",
    "agentChatLimit": 5,
    "disabled": false,
    "availabilityStatus": true,
    "allowedSharedInbox": true,
    "allowedUnassignedInbox": false,
    "shouldGetNotifications": true,
    "assignmentMessage": "Hi, I'\''m Jane and I'\''ll be assisting you today.",
    "applicationKey": "app-key-123",
    "applicationClientId": "app-client-123",
    "userId": "ext-user-123"
  }'

Responses

The updated user (no credentials)

Bodyapplication/json
idstring, (uuid)
Example:"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"
emailstring, (email)
Example:"alice.smith@example.com"
firstNamestring
Example:"Alice"
lastNamestring
Example:"Smith"
rolestring

Platform authority — for example admin or client.

Example:"client"
liveChatRolestring

Role within the live-chat team.

Enum:"Agent""Supervisor"
Example:"Agent"
primaryEmailAddressstring, (email)
Example:"alice@example.com"
mobileNumberstring
Example:"+27123456789"
clientRefstring
Example:"Growthpoint"
clientIdstring, (uuid)

ID of the client this user belongs to.

Example:"c1d2e3f4-a5b6-7890-c1d2-e3f4a5b67890"
countryTimezonestring

IANA timezone for the user, inherited from their client.

Example:"Africa/Johannesburg"
popiaComplianceEnabledboolean

Whether POPIA compliance is enabled for the user's client.

Example:false
disabledboolean
Example:false
deletedboolean
Example:false
ticketCountinteger
Example:0
resetPasswordEmailSentboolean

Whether a password-reset email has been sent to the user.

Example:false
emailVerifiedboolean

Whether the user has verified their email address.

Example:false
lastSeenstring, (date-time)
Example:"2026-01-15T10:30:00Z"
agentChatLimitinteger, (int64)
Example:5
availabilityStatusboolean

Whether the user is currently available for live-chat assignment.

Example:true
initialPasswordboolean

true while the user still has a system-generated temporary password and must set their own on next login.

Example:false
tempAccountboolean
Example:false
tempPasswordValidboolean

Whether the user's temporary password is still valid (not yet expired or replaced).

Example:false
validTokenboolean

Whether the user currently holds a valid session token.

Example:true
avatarstring
Example:"https://example.com/avatars/alice.png"
shouldGetNotificationsboolean
Example:true
applicationKeystring
Example:"app-key-123"
applicationClientIdstring
Example:"app-client-123"
userIdstring
Example:"ext-user-123"
allowedSharedInboxboolean
Example:true
allowedUnassignedInboxboolean
Example:false
assignmentMessagestring
Example:"Hi, I'm Alice and I'll be assisting you today."
Response
{ "id": "b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901", "email": "alice.smith@example.com", "firstName": "Alice", "lastName": "Smith", "role": "client", "liveChatRole": "Agent", "primaryEmailAddress": "alice@example.com", "mobileNumber": "+27123456789", "clientRef": "Growthpoint", "clientId": "c1d2e3f4-a5b6-7890-c1d2-e3f4a5b67890", "countryTimezone": "Africa/Johannesburg", "popiaComplianceEnabled": false, "disabled": false, "deleted": false, "ticketCount": 0, "resetPasswordEmailSent": false, "emailVerified": false, "lastSeen": "2026-01-15T10:30:00Z", "agentChatLimit": 5, "availabilityStatus": true, "initialPassword": false, "tempAccount": false, "tempPasswordValid": false, "validToken": true, "avatar": "https://example.com/avatars/alice.png", "shouldGetNotifications": true, "applicationKey": "app-key-123", "applicationClientId": "app-client-123", "userId": "ext-user-123", "allowedSharedInbox": true, "allowedUnassignedInbox": false, "assignmentMessage": "Hi, I'm Alice and I'll be assisting you today." }