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

# List Webhooks

> List all configured webhooks with their status and subscription counts.



## OpenAPI

````yaml GET /webhooks
openapi: 3.0.0
info:
  title: Webhooks API for TON blockchain
  version: 1.0.0
  description: Real-time webhook subscriptions for TON blockchain events
  contact:
    name: Support
    email: support@tonkeeper.com
servers:
  - url: https://rt.tonapi.io
  - url: https://rt-testnet.tonapi.io
security:
  - BearerAuth: []
tags:
  - name: Webhooks
    description: Webhook CRUD operations
  - name: Account TX
    description: Account transaction subscriptions
  - name: Mempool MSG
    description: Mempool message subscriptions
  - name: Opcode MSG
    description: Opcode message subscriptions
  - name: New Contracts
    description: New contract deployment subscriptions
paths:
  /webhooks:
    get:
      tags:
        - Webhooks
      summary: List webhooks
      description: List all configured webhooks with their status and subscription counts.
      operationId: listWebhooks
      responses:
        '200':
          description: List of webhooks
          content:
            application/json:
              schema:
                type: object
                required:
                  - webhooks
                properties:
                  webhooks:
                    type: array
                    items:
                      $ref: '#/components/schemas/WebhookInfo'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    WebhookInfo:
      type: object
      required:
        - id
        - endpoint
        - token
        - subscribed_accounts
        - subscribed_msg_opcodes
        - subscribed_to_mempool
        - subscribed_to_new_contracts
        - status
        - status_updated_at
        - last_online_at
        - status_failed_attempts
      properties:
        id:
          type: integer
          description: Webhook ID.
        endpoint:
          type: string
          description: Callback URL.
        token:
          type: string
          description: Secret token for Authorization header.
        subscribed_accounts:
          type: integer
          description: Number of subscribed accounts.
        subscribed_msg_opcodes:
          type: integer
          description: Number of subscribed opcodes.
        subscribed_to_mempool:
          type: boolean
          description: Whether mempool subscription is active.
        subscribed_to_new_contracts:
          type: boolean
          description: Whether new contracts subscription is active.
        status:
          type: string
          description: Current webhook status.
        status_updated_at:
          type: string
          description: Last status update timestamp.
        last_online_at:
          type: string
          description: Last online timestamp.
        status_failed_attempts:
          type: integer
          description: Consecutive failed delivery attempts.
    ErrorResponse:
      type: object
      required:
        - message
        - status_code
      properties:
        message:
          type: string
        status_code:
          type: integer
  responses:
    Unauthorized:
      description: Unauthorized — missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            message: unauthorized
            status_code: 401
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >
        API key from [tonconsole.com](https://tonconsole.com/). Can also be
        passed as a `token` query parameter.

````