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

# Create Webhook Endpoint



## OpenAPI

````yaml POST /v1/webhook-endpoints
openapi: 3.0.0
info:
  title: Wardin API
  description: AI governance & observability platform — external REST API
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/webhook-endpoints:
    post:
      tags:
        - webhook-endpoints
      summary: Create an outbound webhook endpoint (generates a signing secret)
      operationId: AlertingController_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWebhookEndpointDto'
      responses:
        '201':
          description: ''
      security:
        - bearer: []
components:
  schemas:
    CreateWebhookEndpointDto:
      type: object
      properties:
        name:
          type: string
          example: 'Slack #alerts'
          description: Human-readable name for this endpoint
        url:
          type: string
          example: https://hooks.slack.com/services/T00/B00/xxx
          description: Destination URL for webhook delivery
        type:
          type: string
          enum:
            - slack
            - generic
          default: generic
          description: 'Payload format: slack uses the Slack incoming-webhook shape'
        events:
          example:
            - budget.threshold_reached
            - policy.violation
          description: Event types this endpoint subscribes to
          type: array
          items:
            type: string
      required:
        - name
        - url
        - type
        - events
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````