Query
query Slack {
slack {
status
installUrl
teamId
teamName
isReconnectRequired
missingScopes
}
}Response
{
"data": {
"slack": {
"status": "CONNECTED",
"installUrl": "string",
"teamId": "string",
"teamName": "string",
"isReconnectRequired": true,
"missingScopes": [
"string"
]
}
}
}slack
The company’s Slack connection. It is shared by every workspace, so X-Paradime-Workspace is not needed. Needs notifications:read.
QUERY
slack: SlackInstallationReturns
status
Whether Slack is connected.
installUrl
String
The Paradime settings page where a company admin connects Slack in a browser; null once Slack is connected with every scope it needs.
teamId
String
The connected Slack team's id; null when not connected.
teamName
String
The connected Slack team's name; null when not connected.
isReconnectRequired
Boolean
Whether Slack must be connected again to grant the scopes it lacks.
missingScopes
[String!]
The Slack scopes the connection lacks.
Query
query Slack {
slack {
status
installUrl
teamId
teamName
isReconnectRequired
missingScopes
}
}Response
{
"data": {
"slack": {
"status": "CONNECTED",
"installUrl": "string",
"teamId": "string",
"teamName": "string",
"isReconnectRequired": true,
"missingScopes": [
"string"
]
}
}
}