List Users
Workspace directory, by name. One page of it: the admin page pages through this, and the
pickers use /users/options instead.
search covers what is typed, role and groups what is picked — the split the filter chips
on every other board make.
GET
/api/v1/usersAuthorization
AuthorizationBearer token · headerrequiredor
AuthorizationOAuth2 access token · headerrequiredQuery parameters
searchstring | anycase-insensitive match on name / email
roleRole[] | anyany of these roles; repeat the param
groupsUserGroup[] | anyin any of these groups; repeat the param
limitintegermin 1 · max 100 · default: 20
offsetintegermin 0 · default: 0
Responses
200Successful Response
successbooleandefault: true
dataUsersList | anyShow propertiesHide properties
Any of:
UsersList
usersUserSchema[]requiredShow propertiesHide properties
Array of
UserSchemaidstringrequiredemailstring | anyShow propertiesHide properties
Any of:
string
stringany
anynamestring | anyShow propertiesHide properties
Any of:
string
stringany
anyimage_urlstring | anyShow propertiesHide properties
Any of:
string
stringany
anyrolestringdefault: "member"
groupsstring[]created_atstring<date-time> | anyShow propertiesHide properties
Any of:
string<date-time>
string<date-time>any
anymetaPaginationMetarequiredShow propertiesHide properties
totalintegerrequiredlimitintegerrequiredoffsetintegerrequiredany
anymessagestring | anyShow propertiesHide properties
Any of:
string
stringany
anyerrorsstring[] | anyShow propertiesHide properties
Any of:
string[]
Array of
stringstringany
any422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobjectRequest
curl -X GET "/api/v1/users" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("/api/v1/users", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"/api/v1/users",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"success": true,
"data": {
"users": [
{
"id": "string",
"email": "string",
"name": "string",
"image_url": "string",
"role": "member",
"groups": [
"string"
],
"created_at": "2019-08-24T14:15:22Z"
}
],
"meta": {
"total": 0,
"limit": 0,
"offset": 0
}
},
"message": "string",
"errors": [
"string"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}