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

# Get webhook config + 24h delivery health

> Returns the current delivery URL (never the secret), whether a secret is set, a per-status delivery count over the last 24h, and the active subscription count.



## OpenAPI

````yaml /api-reference/openapi.json get /webhook
openapi: 3.1.0
info:
  title: Serialized Audit API
  version: 1.0.0
  description: Submit a contract address and chain, receive an instant risk verdict.
servers:
  - url: https://www.serializedaudit.io/api
security:
  - apiKey: []
paths:
  /webhook:
    get:
      summary: Get webhook config + 24h delivery health
      description: >-
        Returns the current delivery URL (never the secret), whether a secret is
        set, a per-status delivery count over the last 24h, and the active
        subscription count.
      operationId: getWebhook
      responses:
        '200':
          description: Current webhook config and health.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookStatus'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    WebhookStatus:
      type: object
      properties:
        webhook_url:
          type:
            - string
            - 'null'
        has_secret:
          type: boolean
        deliveries_24h:
          type: object
          additionalProperties:
            type: integer
          description: >-
            Delivery count over the last 24h, keyed by status (delivered,
            pending, sending, dead).
        subscriptions:
          type: integer
          description: Active subscription count.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable error message.
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-Auth-Key
      description: Your secret API key. Create one from your dashboard.

````