PostHog · Schema

LogsAlertCreateDestination

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
type object Destination type — slack or webhook. * `slack` - slack * `webhook` - webhook
slack_workspace_id integer Integration ID for the Slack workspace. Required when type=slack.
slack_channel_id string Slack channel ID. Required when type=slack.
slack_channel_name string Human-readable channel name for display.
webhook_url string HTTPS endpoint to POST to. Required when type=webhook.
View JSON Schema on GitHub

JSON Schema

posthog-logsalertcreatedestination-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LogsAlertCreateDestination",
  "title": "LogsAlertCreateDestination",
  "type": "object",
  "properties": {
    "type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NotificationDestinationTypeEnum"
        }
      ],
      "description": "Destination type \u2014 slack or webhook.\n\n* `slack` - slack\n* `webhook` - webhook"
    },
    "slack_workspace_id": {
      "type": "integer",
      "description": "Integration ID for the Slack workspace. Required when type=slack."
    },
    "slack_channel_id": {
      "type": "string",
      "description": "Slack channel ID. Required when type=slack."
    },
    "slack_channel_name": {
      "type": "string",
      "description": "Human-readable channel name for display."
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "description": "HTTPS endpoint to POST to. Required when type=webhook."
    }
  },
  "required": [
    "type"
  ]
}