Integrations
PreviewList where Slack messages go
The routes, in order. Each says which events, in which environments, for which teams, at least how urgent, go to which channel. Every route that matches posts. An event no route matches goes to the connection's own channel, and with no routes everything does.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
The routes.
application/json- response
items*array<>curl -X GET 'https://wardn.example.com/api/v1/integrations/slack/routes'Example Response
{ "items": [ { "id": "string", "name": "string", "channel": "string", "events": [ "string" ], "environments": [ "string" ], "teams": [ "string" ], "minSeverity": "info" } ]}Post a test card to a channel POST
Posts a card that says it is a test. A webhook that refuses it is a result with ok false and why, not an error, so the page can say what is wrong.
Set where Slack messages go PUT
Replaces all the routes. An empty list sends everything to the connection's channel. Slack must be connected.