autessa.connectors.slack
6 methods in the connectors.slack namespace.
autessa.connectors.slack.allREAD
autessa.connectors.slack.all()List every Slack connector you can access in your current company.
List every Slack connector you can access in your current company. Takes no arguments and returns each connected workspace you have at least READ access to. Use a connector's connectorId with the other Slack connector methods. Stored bot tokens are never included.
Request fields
No fields.
Response fields
- Name
connectors- Type
- SlackConnectorDto[]
- Description
autessa.connectors.slack.deleteMUTATE
autessa.connectors.slack.delete({ connectorId })Disconnect a Slack workspace and delete its stored bot token.
Disconnect a Slack workspace and delete its stored bot token. Removes the connector for connectorId; Autessa loses all access to that workspace and reconnecting requires the full browser authorisation flow again. The app may remain installed in Slack until an admin removes it there. Restricted to connector admins. High-risk and irreversible.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
message- Type
- string
- Description
autessa.connectors.slack.getREAD
autessa.connectors.slack.get({ connectorId })Fetch one Slack connector by id.
Fetch one Slack connector by id. Returns the full connector for connectorId — including the connected workspace's teamId and name and the connector's sharing and active state — but never the stored bot token. Fails if you lack READ access to the connector.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
connector- Type
- SlackConnectorDto
- Description
autessa.connectors.slack.getSharingDetailsREAD
autessa.connectors.slack.getSharingDetails({ connectorId })Read the current sharing configuration of a Slack connector.
Read the current sharing configuration of a Slack connector. Returns how the connector is shared — the overall sharingLevel, the companyPermissionLevel granted for COMPANY sharing, the explicit sharedWith members, and your own userAccessLevel. Use it before share to see the current state. Requires at least READ access.
Request fields
- Name
connectorId- Type
- string
- Description
Response fields
- Name
sharingLevel- Type
- "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
- Description
- Name
companyPermissionLevel- Type
- "READ" | "WRITE" | "PUBLISH" | "ADMIN"
- Description
- Name
sharedWith- Type
- UserShareWrapper[]
- Description
- Name
userAccessLevel- Type
- "READ" | "WRITE" | "PUBLISH" | "ADMIN"
- Description
autessa.connectors.slack.updateMUTATE
autessa.connectors.slack.update({ connectorId, connectorName })Rename a Slack connector.
Rename a Slack connector. Sets the display name of the connector for connectorId; omit connectorName to leave it unchanged. Only the name is editable — the workspace, bot user and token are fixed at authorisation time, so changing them here would misdescribe which workspace the connector points at. Requires WRITE access.
Request fields
- Name
connectorId- Type
- string
- Description
- Name
connectorName- Type
- string
- Description
Response fields
- Name
connector- Type
- SlackConnectorDto
- Description