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

# Get all webhooks

> Retrieves a list of all webhooks for your application. Requires webhook:read scope.



## OpenAPI

````yaml /swagger.yml get /api/v0/webhooks
openapi: 3.0.0
info:
  title: Devdraft AI Payment & Business Management API
  description: >-

    A comprehensive payment processing and business management API that enables
    seamless integration of cryptocurrency and traditional payment methods.
        
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.devdraft.ai
    description: Production Server
security: []
tags: []
paths:
  /api/v0/webhooks:
    get:
      tags:
        - Webhooks
      summary: Get all webhooks
      description: >-
        Retrieves a list of all webhooks for your application. Requires
        webhook:read scope.
      operationId: WebhookController_findAll
      parameters:
        - name: skip
          required: false
          in: query
          description: 'Number of records to skip (default: 0)'
          schema:
            type: number
        - name: take
          required: false
          in: query
          description: 'Number of records to return (default: 10)'
          schema:
            type: number
      responses:
        '200':
          description: Return all webhooks.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WebhookResponseDto'
        '401':
          description: Unauthorized - Missing or invalid API key.
          content:
            application/json: {}
        '403':
          description: Forbidden - Missing required scope or API key not found.
          content:
            application/json: {}
      security:
        - x-client-secret: []
        - x-client-key: []
components:
  schemas:
    WebhookResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the webhook
          example: 550e8400-e29b-41d4-a716-446655440000
        name:
          type: string
          description: Name of the webhook
          example: Payment Notifications
        url:
          type: string
          description: URL where webhook events are sent
          example: https://api.example.com/webhooks/payments
        isActive:
          type: boolean
          description: Whether the webhook is currently active
          example: true
        encrypted:
          type: boolean
          description: Whether webhook payloads are encrypted
          example: false
        created_at:
          type: string
          description: Timestamp when the webhook was created
          example: '2024-03-20T12:00:00.000Z'
        updated_at:
          type: string
          description: Timestamp when the webhook was last updated
          example: '2024-03-20T12:00:00.000Z'
        delivery_stats:
          type: object
          description: Webhook delivery statistics
          example:
            total_events: 150
            successful_deliveries: 145
            failed_deliveries: 5
            last_delivery: '2024-03-20T11:55:00.000Z'
      required:
        - id
        - name
        - url
        - isActive
        - encrypted
        - created_at
        - updated_at
        - delivery_stats
  securitySchemes:
    x-client-secret:
      type: apiKey
      in: header
      name: x-client-secret
      description: >-
        Your secret API key. Keep this secure and never expose it in client-side
        code.
    x-client-key:
      type: apiKey
      in: header
      name: x-client-key
      description: Your unique client API key. Obtain this from your Devdraft AI dashboard.

````