Query
query Users {
users {
edges {
cursor
node {
createdAt
email
firstName
id
image
lastLoggedIn
}
}
nodes {
createdAt
email
firstName
id
image
lastLoggedIn
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"users": {
"edges": [
{
"cursor": "string",
"node": {
"createdAt": "value",
"email": "string",
"firstName": "string",
"id": "id",
"image": "string",
"lastLoggedIn": "value"
}
}
],
"nodes": [
{
"createdAt": "value",
"email": "string",
"firstName": "string",
"id": "id",
"image": "string",
"lastLoggedIn": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Queries
users
Lists the users with access to the current tenant, invited ones that haven’t signed in yet included. Filter status: ACTIVE for users who have signed in. Returns all users in one page.
QUERY
users(after: String, before: String, first: Int, last: Int, order: [UserV2SortInput!], where: UserV2FilterInput): UsersConnectionArguments
after
String
Returns the elements in the list that come after the specified cursor.
before
String
Returns the elements in the list that come before the specified cursor.
first
Int
Returns the first n elements from the list.
last
Int
Returns the last n elements from the list.
order
where
Returns
edges
[UsersEdge!]
A list of edges.
nodes
[UserV2!]
A flattened list of the nodes.
pageInfo
Information to aid in pagination.
totalCount
Int!
Identifies the total count of items in the connection.
Query
query Users {
users {
edges {
cursor
node {
createdAt
email
firstName
id
image
lastLoggedIn
}
}
nodes {
createdAt
email
firstName
id
image
lastLoggedIn
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
totalCount
}
}Response
{
"data": {
"users": {
"edges": [
{
"cursor": "string",
"node": {
"createdAt": "value",
"email": "string",
"firstName": "string",
"id": "id",
"image": "string",
"lastLoggedIn": "value"
}
}
],
"nodes": [
{
"createdAt": "value",
"email": "string",
"firstName": "string",
"id": "id",
"image": "string",
"lastLoggedIn": "value"
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
},
"totalCount": 1
}
}
}Was this page helpful?