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

# List event types

> Retrieve all available webhook event types with descriptions, categories, credits cost, and applicable filter fields



## OpenAPI

````yaml https://api.struct.to/webhookopenapi.json get /webhooks/events
openapi: 3.1.0
info:
  title: Polymarket Webhook API
  description: ''
  license:
    name: ''
  version: 1.0.0
servers:
  - url: https://api.struct.to/v1
security: []
tags:
  - name: Webhooks
    description: Webhook subscription management (CRUD operations)
  - name: Webhook Callbacks
    description: Outgoing HTTP calls to your endpoints when subscribed events occur
paths:
  /webhooks/events:
    get:
      tags:
        - Webhooks
      summary: List event types
      description: >-
        Retrieve all available webhook event types with descriptions,
        categories, credits cost, and applicable filter fields
      operationId: list_events
      responses:
        '200':
          description: List of available event types
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListEventsResponse'
        '401':
          description: Missing or invalid API key
      security:
        - api_key: []
components:
  schemas:
    ListEventsResponse:
      type: object
      description: Response for GET /v1/webhook/events
      required:
        - events
      properties:
        events:
          type: array
          items:
            $ref: '#/components/schemas/WebhookEventInfo'
          description: Supported webhook events.
    WebhookEventInfo:
      type: object
      description: Single event type entry for the events list
      required:
        - event
        - description
        - category
        - millicredits_cost
        - applicable_filters
      properties:
        event:
          type: string
          description: Event type identifier (e.g. "first_trade")
        description:
          type: string
          description: Human-readable description
        category:
          type: string
          enum:
            - trader
            - trade
            - market
            - event
            - tag
            - position
            - assets
          description: Category grouping for the event type
        millicredits_cost:
          type: integer
          format: int64
          description: Millicredits consumed per webhook delivery (1 credit = 1000 mc)
          minimum: 0
        applicable_filters:
          type: array
          items:
            type: string
          description: Filter field names that apply to this event type

````