Post a message to a Slack channel

POST/api/v1/integrations/slack/message

Parameters

This endpoint does not accept parameters.

Responses

201Message posted

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/integrations/slack/message" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "channel": "#infra-alerts", "text": "New deployment detected.", "attachments": [...] }'

Response

201Message posted
Example response not yet documented.