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

# List webhook subscriptions

> Optionally filtered to one agent with `?agent_id=`. Neither `signing_secret` nor header values are ever returned here. Scope `workspace:read`.



## OpenAPI

````yaml /api-reference/openapi.json get /webhooks/subscriptions
openapi: 3.1.0
info:
  title: Lehar API
  version: v0
  description: >-
    Customer-facing REST API for the Lehar voice-AI platform. Platform-admin
    endpoints are intentionally excluded from this reference. Regenerate with
    `npm run sync:openapi`.
servers:
  - url: https://api.lehar.ai/ca/api/v0
security:
  - ApiKeyAuth: []
  - BearerAuth: []
paths:
  /webhooks/subscriptions:
    get:
      tags:
        - Webhook Subscriptions
      summary: List webhook subscriptions
      description: >-
        Optionally filtered to one agent with `?agent_id=`. Neither
        `signing_secret` nor header values are ever returned here. Scope
        `workspace:read`.
      operationId: list_subscriptions_ca_api_v0_webhooks_subscriptions_get
      parameters:
        - name: agent_id
          in: query
          required: false
          schema:
            type: string
          description: Return only this agent's subscriptions.
      responses:
        '200':
          description: Subscriptions
          content:
            application/json:
              example:
                data:
                  - id: whsub_01EXAMPLE
                    agent_id: agent_sales_hi
                    url: https://hooks.example.com/lehar
                    events:
                      - call_completed
                    status: active
                    payload_format: native
                    signing_enabled: false
                    header_names:
                      - Authorization
                    last_delivery_at: '2026-08-11T09:04:22Z'
                    last_error: null
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
    BearerAuth:
      type: http
      scheme: bearer

````