Get Team Members (Custom Users)
Description
This endpoint retrieves custom user (Team member) data with optional pagination and search functionality for any particular customer's account.
Request URL
Request Method
Request Headers
Authorization
Bearer [Your Access Token]
authtype
Key
Request Parameters
page
Page number for pagination
integer
No
ispagination
Flag to indicate pagination
boolean
No
searchText
Text to search users by name or contact info
string
No
Sample Request
Sample Response
Response Attributes
success
Indicates if the request was successful.
message
Additional information or error message.
data
Array of custom user (Team member) objects.
code
HTTP status code of the response.
Data Attributes
_id
Unique identifier for the custom user.
whitelabel
Flag indicating if the user belongs to a whitelabel.
name
Name of the user.
contact
Contact information of the user.
picture
URL of the user's profile picture.
liveAvailability
Availability status of the user (e.g., ONLINE).
leadsVisibility
Visibility of leads for the user (e.g., ASSIGNED).
status
Status of the user (e.g., ACTIVE).
description
Description or additional information about the user.
type
Type of user (e.g., CUSTOMER).
unreadMessages
Number of unread messages for the user.
_role
Identifier for the user's role.
_parent
Identifier for the user's agency.
createdAt
Date and time when the user was created.
updatedAt
Date and time when the user was last updated.
__v
Version number of the user object.
Note:
Make sure to replace
[Your Access Token]
with your actual access token.Mask confidential details such as access tokens before sharing or storing this documentation.
Last updated