> ## 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.

# Test webhook

> Send a test payload to the webhook URL to verify connectivity



## OpenAPI

````yaml https://api.struct.to/webhookopenapi.json post /webhooks/{webhook_id}/test
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/{webhook_id}/test:
    post:
      tags:
        - Webhooks
      summary: Test webhook
      description: Send a test payload to the webhook URL to verify connectivity
      operationId: test_webhook
      parameters:
        - name: webhook_id
          in: path
          description: Webhook UUID
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Test delivery completed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookTestResponseBody'
        '401':
          description: Missing or invalid API key
        '404':
          description: Webhook not found or not owned by user
      security:
        - api_key: []
components:
  schemas:
    WebhookTestResponseBody:
      type: object
      description: Test webhook response
      required:
        - success
        - duration_ms
      properties:
        success:
          type: boolean
          description: Whether the test delivery succeeded
        status_code:
          type:
            - integer
            - 'null'
          format: int32
          description: HTTP status code from the endpoint
          minimum: 0
        error:
          type:
            - string
            - 'null'
          description: Error message if failed
        duration_ms:
          type: integer
          format: int64
          description: Delivery duration in milliseconds
          minimum: 0

````