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

# List webhooks

> List webhook subscriptions for the account associated with your credentials. Use `AccountID` to select an account or `WebhookID` to filter to one subscription. The response is a JSON array.

The response can include configured header values. Keep the response out of logs and redact those values before sharing it.



## OpenAPI

````yaml /openapi/openapi.json get /Webhooks/GetWebhooks
openapi: 3.1.0
info:
  title: Aiyoti Integration API
  description: Create, retrieve, update, and manage the tracking lifecycle of assets.
  version: 0.0.1
servers:
  - url: '{BaseURL}'
    variables:
      BaseURL:
        default: '{{BaseURL}}'
        description: >-
          Base URL provided when you create API credentials in the Aiyoti
          platform.
security: []
tags:
  - name: Assets / Shipments
    description: Create, list, retrieve, edit, annotate, and delete assets.
  - name: Locations
    description: Manage saved areas and find assets within them.
  - name: Carriers
    description: Look up the carriers available to an account.
  - name: Labels
    description: Look up the labels available for new assets.
  - name: Accounts
    description: Find and manage account records.
  - name: Users
    description: Look up user records.
  - name: Events
    description: Look up event types and query event history.
  - name: Webhooks
    description: Configure subscriptions to Aiyoti events.
  - name: Inventory
    description: Check label stock and look up label SKUs.
paths:
  /Webhooks/GetWebhooks:
    get:
      tags:
        - Webhooks
      summary: List webhooks
      description: >-
        List webhook subscriptions for the account associated with your
        credentials. Use `AccountID` to select an account or `WebhookID` to
        filter to one subscription. The response is a JSON array.


        The response can include configured header values. Keep the response out
        of logs and redact those values before sharing it.
      operationId: get_webhook_Webhooks_GetWebhooks_get
      parameters:
        - name: AccountID
          in: query
          schema:
            type: string
          description: Account identifier for the lookup.
          example: '00000000000000000000000000000002'
        - name: WebhookID
          in: query
          schema:
            type: string
          description: Return only the subscription with this ID.
          example: '00000000000000000000000000000005'
      responses:
        '200':
          description: An array of webhook subscriptions.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    WebhookID:
                      type: string
                      description: Unique identifier of the webhook.
                    WebhookName:
                      type: string
                      description: Name of the webhook.
                    URL:
                      type: string
                      description: Destination URL.
                    Events:
                      type: array
                      items:
                        type: string
                    Headers:
                      description: Configured headers. May contain sensitive values.
                    CreatedOn:
                      type: string
                      description: Time the webhook was created.
                    CreatedBy:
                      type:
                        - string
                        - 'null'
                      description: Name of the user who created the webhook.
              example:
                - WebhookID: '00000000000000000000000000000005'
                  WebhookName: Example webhook
                  URL: https://example.com/webhook
                  Events:
                    - User comment
        '400':
          description: >-
            Request rejected. Check your credentials, account access, and
            request parameters.
        '422':
          description: Request validation failed. Check required fields and value types.
      security:
        - clientId: []
          apiKey: []
components:
  securitySchemes:
    clientId:
      type: apiKey
      in: header
      name: ClientID
    apiKey:
      type: apiKey
      in: header
      name: ApiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.