Alerts

Update a channel

PATCH
/v1/channels/{id}
AuthorizationBearer <token>

API key minted via POST /v1/api-keys (format mk_live_...)

In: header

Path Parameters

idstring

Channel id (dest_...).

Length1 <= length
label?string
Length1 <= length <= 80
url?string

Webhooks only.

Formaturi
headers?

Webhooks only; replaces the whole set.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://api.mentio.dev/v1/channels/dest_abc123" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "label": "string",
  "stats": {
    "alerts": 0,
    "activeAlerts": 0,
    "lastDeliveryAt": "string",
    "last7d": {
      "total": 0,
      "failed": 0
    }
  },
  "createdAt": "string",
  "kind": "slack",
  "config": {
    "channelId": "string",
    "channelName": "string"
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "string",
    "requestId": "string",
    "retryAfterSeconds": 0
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "string",
    "requestId": "string",
    "retryAfterSeconds": 0
  }
}