Skip to main content

get_all_users_uid

Description

  • Retrieves a list of registered user IDs.

Request Method

  • POST

Request URL

  • {API_ADDRESS}/user/get_all_users_uid
Header NameExample ValueRequiredTypeDescription
operationID1646445464564RequiredstringUsed for global traceability, suggested as a unique timestamp per request
tokeneyJhbxxxx3XsRequiredstringAdmin token

Request Parameters Example

{
"pagination": {
"pageNumber": 1,
"showNumber": 100
}
}
Field NameRequiredTypeDescription
paginationRequiredobjectPagination structure
pagination.pageNumberRequiredintCurrent page number, starting from 1
pagination.showNumberRequiredintNumber of items per page

Success Response Example

{
"errCode": 0,
"errMsg": "",
"errDlt": "",
"data": {
"total": 0,
"userIDs": [
"openIM123456",
"openIM654321",
"openIMAdmin",
"kernaltestuid2",
"alantestuid2"
]
}
}

Success Response Parameter Description

ParameterTypeDescription
errCodeintError code, 0 indicates success
errMsgstringBrief error message, empty if successful
errDltstringDetailed error information, empty if successful
dataobjectGeneral data object, structure described below
totalintTotal number of users
userIDsarrayList of user IDs

Failure Response Example

{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}

Failure Response Parameter Description

ParameterTypeDescription
errCodeintError code; refer to global error code documentation
errMsgstringBrief error message
errDltstringDetailed error information