Enterprises, users and user groups management
Manage the organization of users into enterprises and user groups
Enterprises, users, and user groups are the core building blocks for managing access, organization, and reporting in the platform.
Enterprises define the organizational boundaries for customers or tenants.
Users represent individual accounts that interact with the system.
User Groups organize users into teams, departments, or functional units for easier assignment, permissions management, and reporting.
This section explains how to manage these entities through the API, with practical use cases and endpoint references to help you:
Onboard and organize team members.
Maintain and update group memberships
Password management
Enterprise
A customer account or tenant in the platform.
- Groups all users, groups, tickets, and resources under one organization.
- Defines settings, quotas, and branding at the organization level.
- Serves as the scope for reporting and statistics.
Service
A functional configuration or capability linked to an enterprise, often enabling a specific set of features.
- Defines how certain functionalities (e.g., conferences, tickets) are available to an enterprise.
- Used to manage feature sets and technical settings.
User Group
A team or collection of users within an enterprise.
- Organizes users by department, function, or permissions.
- Controls routing rules and skills for its members.
- Enables team-level reporting and management.
User
An individual account with login credentials and assigned roles.
- Acts as an agent, admin, or other role within an enterprise.
- Participates in tickets or conferences.
- Belongs to one enterprise and to one or more user groups to control routing.
Manage users in an enterprise
Get all users of an enterprise
Endpoint: GET /api/v3/enterprises/{enterpriseId}/users
Retrieve a list of all users belonging to a specific enterprise.
When to use:
Display the full directory of an enterprise.
Prepare for bulk operations such as assigning users to groups.
Id of the enterprise
Returns enterprise stats
Error case when enterpriseId is not set
Different kind of responses
GET /api/v3/enterprises/{enterpriseId}/users HTTP/1.1
Host: cloud.apizee.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"users": [
{
"id": 12,
"userId": 12,
"profileId": 25,
"enterprise": {
"id": 12,
"name": "My enterprise name",
"logo": "https://cloud.apizee.com/img/users/xxxxxx/default",
"domain": "my.domain.com",
"apiKey": "51az89eaz1a5z16az1az598"
},
"nickname": "John Doe",
"first_name": "John",
"last_name": "Doe",
"username": "my.username@email.com",
"is_agent": "false",
"email": "my.email@email.com",
"photo_url": "https://cloud.apizee.com/img/users/xxxxxx/default",
"title": "agent",
"phone": "XXXXXXXXX",
"mobile": "XXXXXXXXX"
}
]
}Create a new user
Endpoint: POST /api/v3/users
Add a new user to the system.
When to use:
Onboard a new agent or admin.
Automate user creation from an external system.
Username used to login
Password used to login
User email. Required if no cell phone
User cell phone. Required if no email
User firstName
The user lastName
By default enterprise id is given by user token
Different kind of responses
Error case when there is a technical error
POST /api/v3/users?username=text&password=password HTTP/1.1
Host: cloud.apizee.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"resultCode": "OK",
"userId": "12"
}Update user properties
Endpoint: PUT /api/v3/users
Modify a user’s profile or settings.
When to use:
Update contact details or role.
Adjust permissions without recreating the account.
User id
User first name
User last name
User avatar
User phone number
User job title
Audio only
Click to chat
Max on going chat
Returns userId in case of success
Error case when the Userid parameter doesn't match any user
Error case when the user referenced by the token parameter doesn't have permission or rights to change user informations
Error case when there is a technical error
PUT /api/v3/users?Userid=1 HTTP/1.1
Host: cloud.apizee.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"userId": "12"
}Delete user
Endpoint: DELETE /api/v3/users
Remove a user account.
When to use:
Offboard a departing employee.
Clean up inactive or duplicate accounts.
User id
Different kind of responses
Error case when Usertoken header is invalid
DELETE /api/v3/users?userId=1 HTTP/1.1
Host: cloud.apizee.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"resultCode": "OK",
"userId": "12"
}Manage user groups
Get all user groups of an enterprise
Endpoint: GET /api/v3/enterprises/{enterpriseId}/groups
Retrieve all user groups within an enterprise.
When to use:
Review available teams for assignment.
Audit organizational structure.
Id of the enterprise
Good case
Forbidden
404 Resource Not Found
GET /api/v3/enterprises/{enterpriseId}/groups HTTP/1.1
Host: cloud.apizee.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 103,
"name": "Sales Team",
"description": "Sales representatives for North America",
"external_reference": null
},
{
"id": 104,
"name": "Engineering",
"description": "Research and Development division",
"external_reference": null
}
]Get all users in a user group
Endpoint: GET /api/v3/enterprises/{enterpriseId}/groups/{groupId}/members
Retrieve all users assigned to a group.
When to use:
Review team composition.
Prepare for team restructuring.
Get all members from a enterprise group
Id of the enterprise
Id of the group
Good case
Forbidden
404 Resource Not Found
GET /api/v3/enterprises/{enterpriseId}/groups/{groupId}/members HTTP/1.1
Host: cloud.apizee.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
[
111,
123
]
]Manage user accounts and credentials
Get personal information of current authenticated user
Endpoint: GET /api/v3/users/me
Retrieve the profile of the currently authenticated user.
When to use:
Display user details in self-service portals.
Pre-fill account settings forms.
Return personnal informations
Error case when Usertoken header is invalid
GET /api/v3/users/me HTTP/1.1
Host: cloud.apizee.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"photo_url": "https://my.site.com/root/to/photo.jpg",
"enterpriseId": 15,
"userId": 12,
"apiKey": "aze41989caz26a2z4e98c",
"nickname": "John Doe",
"token": "6a54c065a8z91a6z19a",
"is_agent": "true",
"ccs": "ccs.apizee.com"
}Get user id
Endpoint: GET /api/v3/users/id
Retrieve the ID of a user from email address.
When to use:
Get a user’s ID before performing updates or assignments.
User email (used for login)
Different kind of responses
Error case when Usertoken header is invalid
GET /api/v3/users/id?email=text HTTP/1.1
Host: cloud.apizee.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"userId": "12",
"enterpriseOd": 18,
"firstName": "John",
"lastName": "Doe",
"resultCode": "OK"
}Change user password
Endpoint: POST /api/v3/users/password/reset
Send a password reset link by email.
When to use:
Help a user regain access.
Enforce password rotation.
Bulk reset password in cas of a security event.
User login
Returns OK in case of success
Different kind of responses
POST /api/v3/users/password/reset?login=text HTTP/1.1
Host: cloud.apizee.com
Accept: */*
{
"resultCode": "OK"
}Last updated