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

# List Subscriptions

> Return all webhook subscriptions owned by the current user.



## OpenAPI

````yaml /api-reference/openapi.json get /api/webhooks/subscriptions
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.1.2
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/webhooks/subscriptions:
    get:
      tags:
        - webhooks
      summary: List Subscriptions
      description: Return all webhook subscriptions owned by the current user.
      operationId: list_subscriptions_api_webhooks_subscriptions_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookSubscriptionList'
      security:
        - HTTPBearer: []
components:
  schemas:
    WebhookSubscriptionList:
      properties:
        subscriptions:
          items:
            $ref: '#/components/schemas/WebhookSubscriptionResponse'
          type: array
          title: Subscriptions
      type: object
      required:
        - subscriptions
      title: WebhookSubscriptionList
      description: List of subscriptions.
    WebhookSubscriptionResponse:
      properties:
        id:
          type: integer
          title: Id
        provider:
          type: string
          title: Provider
        subscription_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Subscription Id
        resource:
          type: string
          title: Resource
        change_type:
          type: string
          title: Change Type
        agent_id:
          type: integer
          title: Agent Id
        agent_message_template:
          anyOf:
            - type: string
            - type: 'null'
          title: Agent Message Template
        status:
          type: string
          title: Status
        expiration_datetime:
          anyOf:
            - type: string
            - type: 'null'
          title: Expiration Datetime
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
      type: object
      required:
        - id
        - provider
        - subscription_id
        - resource
        - change_type
        - agent_id
        - agent_message_template
        - status
        - expiration_datetime
        - created_at
      title: WebhookSubscriptionResponse
      description: Response after creating a subscription.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [Create Subscription](/api-reference/webhooks/create-subscription.md)
- [Delete Subscription](/api-reference/webhooks/delete-subscription.md)
- [Renew Subscription](/api-reference/webhooks/renew-subscription.md)
- [Update Subscription](/api-reference/webhooks/update-subscription.md)
- [List Webhook Logs](/api-reference/webhooks/list-webhook-logs.md)
