- Site
- Session
- User
- Callback
- Workflow
- File
- Share
- VAS
- Group
- WebDAV
Search user
GET
/user/search
Auth: JWT Required
Request
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Query Params
keyword
string
required
>= 2 characters
Example:
Aaron
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/user/search?keyword=Aaron'
Responses
🟢200Success
application/json
Body
data
array [object {6}] | null
optional
id
string
required
Example:
6JIo
email
string | null
optional
nickname
string | null
required
Example:
Johnny Zhang
created_at
string <date-time>
required
Example:
2023-08-06T19:21:59+08:00
group
object
required
avatar
enum<string> | enum<null>
required
Allowed values:
filegravatar
Example:
file
code
integer
required
0
- Success.Default:
0
Example:
0
msg
string
optional
error
string | null
optional
correlation_id
string <uuid> | null
optional
Example:
b4351ecc-ee1a-4455-bc94-2c3dbcc58538
Example
{
"code": 0,
"data": [
{
"id": "lpua",
"email": "admin@cloudreve.org",
"nickname": "Aaron Liu",
"avatar": "file",
"created_at": "2023-08-06T19:21:59+08:00",
"group": {
"id": "z4u4",
"name": "管理员"
}
},
{
"id": "gymfz",
"email": "a1e4b09e-8332-44a2-8c2e-de95b1ead741@openid.unmanaged",
"nickname": "Aaron Liu",
"created_at": "2025-02-08T13:57:26+08:00",
"group": {
"id": "1AI8",
"name": "User"
}
}
],
"msg": ""
}
Modified at 2025-06-27 03:11:24