Quick links
Chimlet home

Documentation

Chimlet home

Create an integration

Save a Slack or Discord incoming webhook and select which checks can send it issue notifications.

POST/api/v1/integrationsJump to request example

Request example

Request
curl --fail-with-body --include --request POST \
  --url "$CHIMLET_BASE_URL/api/v1/integrations" \
  --header "Authorization: Bearer $CHIMLET_SESSION_TOKEN" \
  --header "Workspace-Id: $CHIMLET_WORKSPACE_ID" \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "channel": "discord",
  "name": "Production alerts",
  "destination": "#alerts",
  "enabled": true,
  "recovery": true,
  "check_ids": [
    "01KJ4CM00R37VJ4C5JJAK3ZMRV"
  ],
  "webhook_url": "replace-with-your-incoming-webhook-url"
}
JSON

Response example

Response
201 Created
{
  "id": "01KJ4CM00R37VJ4C5JJAK3ZMS0",
  "channel": "discord",
  "name": "Production alerts",
  "destination": "#alerts",
  "enabled": true,
  "recovery": true,
  "check_ids": [
    "01KJ4CM00R37VJ4C5JJAK3ZMRV"
  ],
  "revision": 1,
  "created_at": "2026-12-01T09:00:00Z",
  "updated_at": "2026-12-01T09:00:00Z",
  "last_delivery": null
}
Response headers
Headers
Location: /api/v1/integrations/01KJ4CM00R37VJ4C5JJAK3ZMS0
ETag: "1"

Authentication

Account bearer token with integrations.manage and Workspace-Id

Authentication overview

Request fields

Request body

channelstringRequired
Use slack or discord. The channel is fixed after creation.
namestringRequired
The integration name, 1 to 100 UTF-8 bytes.
destinationstringRequired
A channel label, 1 to 160 UTF-8 bytes. The webhook URL determines where messages are sent.
webhook_urlstringRequired
The HTTPS incoming webhook URL for the selected provider. Keep it private.
enabledbooleanRequired
Enable automatic notifications.
recoverybooleanRequired
Send recovery notifications for assigned checks.
check_idsstring[]Required
Up to 100 distinct check IDs from this workspace. An empty array assigns no checks.

Usage notes

  • Replace the webhook URL and example check ID. Slack incoming webhooks are bound to the channel selected in Slack.
  • Chimlet encrypts the webhook URL and excludes it from API responses.
  • If delivery is unavailable, ask your installation administrator to configure it before retrying.