Query
query Users {
users {
edges {
cursor
node {
email
uid
fullName
accountType
status
inviteStatus
}
}
pageInfo {
startCursor
endCursor
hasNextPage
hasPreviousPage
}
totalCount
}
}Response
{
"data": {
"users": {
"edges": [
{
"cursor": "string",
"node": {
"email": "string",
"uid": "string",
"fullName": "string",
"accountType": "ADMIN",
"status": "ACTIVE",
"inviteStatus": "PENDING"
}
}
],
"pageInfo": {
"startCursor": "string",
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true
},
"totalCount": 1
}
}
}users
The members, former members and invitees of the workspace the API key targets: a workspace key’s own, or the one in the X-Paradime-Workspace header. Needs users:admin:read.
QUERY
users(status: [UserStatus!], first: Int, after: String): UserConnection!Arguments
status
[UserStatus!]
Only users with one of these statuses; every status when left out.
first
Int
default:100
How many to return: 100 by default, at most 500. 0 returns only totalCount.
after
String
The endCursor of the previous page.
Returns
edges
[UserEdge!]!
This page, in order.
pageInfo
Where this page sits in the list.
totalCount
Int!
How many there are across all pages.
Query
query Users {
users {
edges {
cursor
node {
email
uid
fullName
accountType
status
inviteStatus
}
}
pageInfo {
startCursor
endCursor
hasNextPage
hasPreviousPage
}
totalCount
}
}Response
{
"data": {
"users": {
"edges": [
{
"cursor": "string",
"node": {
"email": "string",
"uid": "string",
"fullName": "string",
"accountType": "ADMIN",
"status": "ACTIVE",
"inviteStatus": "PENDING"
}
}
],
"pageInfo": {
"startCursor": "string",
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true
},
"totalCount": 1
}
}
}