> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-cluster.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Receive slack event



## OpenAPI

````yaml /api/openapi.yaml post /webhooks/v1/slack/events
openapi: 3.1.0
info:
  title: OpenCluster Control Plane API
  version: 0.1.0
  description: HTTP contract for the OpenCluster product API and inbound webhook endpoints.
  license:
    name: Apache-2.0
servers:
  - url: http://localhost:8080
    description: Local self-hosted deployment
security: []
tags:
  - name: Authentication
  - name: Organizations
  - name: Members
  - name: Sessions
  - name: Policy
  - name: Audit
  - name: Integration Types
  - name: Integrations
  - name: Relays
  - name: Incidents
  - name: Investigations
  - name: Conversations
  - name: Postmortems
  - name: Webhook Deliveries
  - name: Webhook Intake
  - name: Metadata
paths:
  /webhooks/v1/slack/events:
    post:
      tags:
        - Webhook Intake
      summary: Receive slack event
      operationId: receiveSlackEvent
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: Slack challenge or duplicate accepted.
        '202':
          $ref: '#/components/responses/WebhookAccepted'
        '400':
          $ref: '#/components/responses/WebhookRejected'
        '401':
          $ref: '#/components/responses/WebhookUnauthorized'
        '413':
          $ref: '#/components/responses/WebhookOversized'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/WebhookUnavailable'
      security:
        - SlackSignature: []
components:
  responses:
    WebhookAccepted:
      description: Delivery durably accepted.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/WebhookStatus'
    WebhookRejected:
      description: Permanent malformed delivery.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/WebhookStatus'
    WebhookUnauthorized:
      description: Missing or invalid webhook credential.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/WebhookStatus'
    WebhookOversized:
      description: Body exceeds 1 MiB.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/WebhookStatus'
    RateLimited:
      description: A bounded concurrency or request limit was reached.
      headers:
        Retry-After:
          schema:
            type: integer
            minimum: 1
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    WebhookUnavailable:
      description: Delivery could not be durably recorded; retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/WebhookStatus'
  schemas:
    WebhookStatus:
      type: object
      additionalProperties: false
      required:
        - status
      properties:
        status:
          type: string
          maxLength: 128
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: string
          minLength: 1
          maxLength: 1024
          example: the selected Organization is not available to this caller
        reason:
          type: string
          enum:
            - credential_rejected
            - session_expired
            - session_revoked
        requires:
          type: string
          minLength: 1
          maxLength: 128
  securitySchemes:
    SlackSignature:
      type: apiKey
      in: header
      name: X-Slack-Signature
      description: Slack request signature verified with the configured signing secret.

````