SendlySendly
API ReferenceConnections

Choose which notices post to Slack

PATCH
/api/integrations/slack/installation

The full list of notice kinds to keep. Only a project admin may change it.

Requires the connections:write scope — Connect, re-verify and disconnect services.

Authorization

better-auth.session_token<token>

BetterAuth session cookie. Used by the dashboard / browser clients. When present, the active project is taken from the x-project-id header.

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/integrations/slack/installation" \  -H "Content-Type: application/json" \  -d '{    "eventKinds": [      "bounce_spike"    ]  }'
{
  "success": true,
  "data": {
    "installation": {
      "id": "string",
      "teamId": "string",
      "teamName": "string",
      "channelId": "string",
      "channelName": "string",
      "scopes": [
        "string"
      ],
      "eventKinds": [
        "bounce_spike"
      ],
      "createdAt": "2019-08-24T14:15:22Z"
    }
  }
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}
{
  "success": false,
  "error": {
    "message": "string",
    "code": "string",
    "details": {
      "errors": [
        null
      ]
    }
  }
}