Integrations
PreviewRead the Slack connection
The workspace the organization connected and the channel notifications go to. The bot token and the signing secret are never returned. Not found when Slack is not connected.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
The connection.
application/json- response
workspaceId*stringworkspaceName*stringchannel*stringpaused*booleanconnectedAt*stringFormat
date-timecurl -X GET 'https://wardn.example.com/api/v1/integrations/slack/connection'Example Response
{ "workspaceId": "string", "workspaceName": "string", "channel": "string", "paused": true, "connectedAt": "2019-08-24T14:15:22Z"}Test a git host connection POST
Makes one read with the stored token and says what came back. It changes nothing. A host that refuses or does not answer is a result with ok false, not an error, so the page can say why.
Disconnect the Slack workspace DELETE
Removes the connection and its credentials from the secret store. Messages already posted stay in Slack, and their buttons stop doing anything. Disconnecting what is not connected changes nothing.