Quick links
Chimlet home

Documentation

Chimlet home

Update an integration

Change an integration’s settings or replace the assigned checks. Omit a field to keep its current value.

PATCH/api/v1/integrations/{id}Jump to request example

Request example

Request
curl --fail-with-body --include --request PATCH \
  --url "$CHIMLET_BASE_URL/api/v1/integrations/$CHIMLET_INTEGRATION_ID" \
  --header "Authorization: Bearer $CHIMLET_SESSION_TOKEN" \
  --header "Workspace-Id: $CHIMLET_WORKSPACE_ID" \
  --header "If-Match: $CHIMLET_ETAG" \
  --header "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "enabled": false
}
JSON

Response example

Response
200 OK
{
  "id": "01KJ4CM00R37VJ4C5JJAK3ZMS0",
  "channel": "discord",
  "name": "Production alerts",
  "destination": "#alerts",
  "enabled": false,
  "recovery": true,
  "check_ids": [
    "01KJ4CM00R37VJ4C5JJAK3ZMRV"
  ],
  "revision": 2,
  "created_at": "2026-12-01T09:00:00Z",
  "updated_at": "2026-12-01T09:01:01Z",
  "last_delivery": null
}
Response headers
Headers
ETag: "2"

Authentication

Account bearer token with integrations.manage and Workspace-Id

Authentication overview

Request fields

Request body and headers

If-MatchheaderRequired
The strong ETag from the latest integration response, including quotes.
namestring
The integration name, 1 to 100 UTF-8 bytes.
destinationstring
A channel label, 1 to 160 UTF-8 bytes. The webhook URL determines where messages are sent.
webhook_urlstring
The HTTPS incoming webhook URL for the selected provider. Keep it private.
enabledboolean
Enable automatic notifications.
recoveryboolean
Send recovery notifications for assigned checks.
check_idsstring[]
Up to 100 distinct check IDs from this workspace. An empty array assigns no checks.

Usage notes

  • When provided, check_ids replaces the full assignment list. Use an empty array to remove all assignments.
  • Pausing stops new automatic notifications. You can still queue a test and read delivery history.