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

# List webhooks

> Retrieve all configured webhooks for the workspace, newest first.

    A workspace may have at most a small, fixed number of webhooks configured at once — see the
    create endpoint's error if that limit is reached.



## OpenAPI

````yaml /api-reference/api-docs.yaml get /v0/webhooks/list
openapi: 3.1.0
info:
  title: Fungies API v0
  version: 0.3.7
servers:
  - url: https://api.fungies.io
security: []
tags:
  - name: discounts
    description: Discounts related endpoints
  - name: keys
    description: Offer product keys related endpoints
  - name: orders
    description: Orders related endpoints
  - name: payments
    description: Payments related endpoints
  - name: offers
    description: Offers related endpoints
  - name: products
    description: Products related endpoints
  - name: subscriptions
    description: Subscriptions related endpoints
  - name: tax
    description: Tax calculation related endpoints
  - name: users
    description: Users related endpoints
  - name: variants
    description: Product variants related endpoints
  - name: plans
    description: Product plans related endpoints
  - name: elements
    description: Elements related endpoints
  - name: webhooks
    description: Webhooks related endpoints
paths:
  /v0/webhooks/list:
    get:
      tags:
        - webhooks
      summary: List webhooks
      description: |-
        Retrieve all configured webhooks for the workspace, newest first.

            A workspace may have at most a small, fixed number of webhooks configured at once — see the
            create endpoint's error if that limit is reached.
      operationId: GetV0WebhooksList
      responses:
        '200':
          description: GET /v0/webhooks/list Positive response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV0WebhooksListPositiveResponse'
        '400':
          description: GET /v0/webhooks/list Negative response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV0WebhooksListNegativeResponse'
              examples:
                example1:
                  value:
                    status: error
                    error:
                      message: Sample error message
      security:
        - APIKEY_1: []
components:
  schemas:
    GetV0WebhooksListPositiveResponse:
      type: object
      properties:
        status:
          type: string
          const: success
        data:
          type: object
          properties:
            webhooks:
              type: array
              items:
                type: object
                properties:
                  object:
                    type: string
                    enum:
                      - webhook
                    default: webhook
                  id:
                    type: string
                    format: uuid
                  url:
                    type: string
                  status:
                    type: string
                    enum:
                      - active
                      - inactive
                  secret:
                    type: string
                  events:
                    type: array
                    items:
                      type: string
                      enum:
                        - payment_success
                        - payment_refunded
                        - payment_failed
                        - subscription_created
                        - subscription_interval
                        - subscription_updated
                        - subscription_cancelled
                  createdAt:
                    type:
                      - integer
                      - 'null'
                    format: int64
                    minimum: 0
                    maximum: 9007199254740991
                  deletedAt:
                    type:
                      - integer
                      - 'null'
                    format: int64
                    minimum: 0
                    maximum: 9007199254740991
                    default: null
                required:
                  - id
                  - url
                  - status
                  - secret
                  - events
                  - createdAt
          required:
            - webhooks
      required:
        - status
        - data
    GetV0WebhooksListNegativeResponse:
      type: object
      properties:
        status:
          type: string
          const: error
        error:
          type: object
          properties:
            message:
              type: string
          required:
            - message
      required:
        - status
        - error
  securitySchemes:
    APIKEY_1:
      type: apiKey
      in: header
      name: x-fngs-public-key

````