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

# List webhooks

> List all webhook endpoints for the authenticated user.



## OpenAPI

````yaml openapi.yaml get /v1/webhooks
openapi: 3.1.0
info:
  description: >-
    Convert documents into structured Markdown filesystems that AI agents can
    hydrate and use in sandbox runtimes.
  title: Shelv API
  version: 1.0.0
servers:
  - url: https://api.shelv.dev
security:
  - bearerApiKey: []
paths:
  /v1/webhooks:
    get:
      tags:
        - Webhooks
      summary: List webhooks
      description: List all webhook endpoints for the authenticated user.
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/WebhookResponse'
                type: array
          description: List of webhooks
      security:
        - bearerApiKey: []
components:
  schemas:
    WebhookResponse:
      properties:
        createdAt:
          format: date-time
          type: string
        events:
          items:
            enum:
              - shelf.ready
              - shelf.failed
              - shelf.review
            type: string
          type: array
        publicId:
          pattern: ^wh_[0-9a-f]{24}$
          type: string
        url:
          description: >-
            Webhook endpoint URL. In production, URLs must use https://, avoid
            URL credentials, use port 443 when explicit, and cannot use
            localhost/*.localhost/.local hostnames. In non-production,
            http://localhost and http://*.localhost are allowed for local
            testing.
          format: uri
          maxLength: 2048
          type: string
        userId:
          type: string
      required:
        - publicId
        - userId
        - url
        - events
        - createdAt
      type: object
  securitySchemes:
    bearerApiKey:
      bearerFormat: APIKey
      scheme: bearer
      type: http

````