Query
query WorkspaceInvites {
workspaceInvites {
edges {
cursor
node {
id
createdBy {
__typename
... on UserActor {
__typename
}
}
createdAt {
__typename
}
email
workspace {
__typename
}
isAccepted
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"workspaceInvites": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"createdBy": {
"__typename": "UserActor"
},
"createdAt": {
"__typename": "DateTime"
},
"email": "string",
"workspace": {
"__typename": "Workspace"
},
"isAccepted": true
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
workspaceInvites
Returns all pending invites for the current workspace. Use this to view outstanding invitations and their status from an admin perspective. Inviting someone is done by the user in the Plain app. The Plain app page is https://app.plain.com/workspace/w_…/settings/members/add.
QUERY
workspaceInvites(first: Int, after: String, last: Int, before: String): WorkspaceInviteConnection!Arguments
first
Int
after
String
last
Int
before
String
Returns
edges
pageInfo
Query
query WorkspaceInvites {
workspaceInvites {
edges {
cursor
node {
id
createdBy {
__typename
... on UserActor {
__typename
}
}
createdAt {
__typename
}
email
workspace {
__typename
}
isAccepted
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"workspaceInvites": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"createdBy": {
"__typename": "UserActor"
},
"createdAt": {
"__typename": "DateTime"
},
"email": "string",
"workspace": {
"__typename": "Workspace"
},
"isAccepted": true
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

