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

# List webhooks

> Retrieve a list of webhooks



## OpenAPI

````yaml https://api.onset.io/v1/openapi.yml get /webhooks
openapi: 3.1.0
info:
  title: Onset API
  description: >-
    RESTful API for managing milestones, releases, subscribers, and webhooks in
    Onset workspace.
  version: 1.0.0
  contact:
    name: Onset Support
    url: https://www.onset.io
    email: support@onset.io
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.onset.io/v1
    description: API V1
security:
  - bearerAuth: []
  - basicAuth: []
tags:
  - name: Workspace
    description: Workspace management operations
  - name: Milestones
    description: Milestone management operations
  - name: Releases
    description: Release management operations
  - name: Subscribers
    description: Subscriber management operations
  - name: Webhooks
    description: Webhook management operations
  - name: Incoming Webhooks
    description: Incoming webhook management operations
paths:
  /webhooks:
    get:
      tags:
        - Webhooks
      summary: List webhooks
      description: Retrieve a list of webhooks
      parameters:
        - name: offset
          in: query
          description: Number of items to skip
          schema:
            type: integer
            minimum: 0
            maximum: 1000
            default: 0
        - name: limit
          in: query
          description: Maximum number of items to return
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 10
      responses:
        '200':
          description: List of webhooks retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Webhook'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    Webhook:
      type: object
      properties:
        id:
          type: string
          description: Unique webhook identifier
        name:
          type: string
          description: Webhook name
        url:
          type: string
          format: uri
          description: Webhook URL endpoint
        events:
          type: object
          additionalProperties:
            type: boolean
          description: Webhook event subscriptions
          example:
            release.created: true
            release.updated: true
            release.deleted: false
            release.published: true
            release.scheduled: false
            release.reverted: false
            release.reacted: false
            release.unreacted: false
            milestone.created: true
            milestone.updated: true
            milestone.deleted: false
            milestone.upvoted: false
            milestone.downvoted: false
            milestone.archived: false
            milestone.unarchived: false
            subscriber.created: false
            subscriber.updated: false
            subscriber.deleted: false
            subscriber.unsubscribed: false
        last_triggered_at:
          type: string
          format: date-time
          nullable: true
          description: When the webhook was last triggered
        created_at:
          type: string
          format: date-time
          description: When the webhook was created
        updated_at:
          type: string
          format: date-time
          description: When the webhook was last updated
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
        details:
          type: object
          description: Additional error details
      required:
        - error
  responses:
    BadRequest:
      description: Bad request - Invalid input parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Unauthorized - Invalid or missing authentication
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````