Queries
chatApps
List all chat apps in the workspace. Supports cursor-based pagination.
Requires the chatApp:read permission.
QUERY
chatApps(first: Int, after: String, last: Int, before: String): ChatAppConnection!Arguments
first
Int
after
String
last
Int
before
String
Returns
edges
[ChatAppEdge!]!
pageInfo
Query
query ChatApps {
chatApps {
edges {
cursor
node {
id
name
logo {
__typename
}
createdAt {
__typename
}
createdBy {
__typename
... on UserActor {
__typename
}
}
updatedAt {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"chatApps": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"logo": {
"__typename": "WorkspaceFile"
},
"createdAt": {
"__typename": "DateTime"
},
"createdBy": {
"__typename": "UserActor"
},
"updatedAt": {
"__typename": "DateTime"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?
⌘I
Query
query ChatApps {
chatApps {
edges {
cursor
node {
id
name
logo {
__typename
}
createdAt {
__typename
}
createdBy {
__typename
... on UserActor {
__typename
}
}
updatedAt {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"chatApps": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"name": "string",
"logo": {
"__typename": "WorkspaceFile"
},
"createdAt": {
"__typename": "DateTime"
},
"createdBy": {
"__typename": "UserActor"
},
"updatedAt": {
"__typename": "DateTime"
}
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}
