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

# Send Test Webhook

> Queue a signed webhook.test event for an active endpoint.

Returns `202 Accepted` with an `event_id` and `delivery_id`. The test uses the
same signing, timeout, logging, and retry system as booking events.

Use [Get Webhook Delivery](/api-reference/webhooks/get-delivery) with the
returned delivery ID to inspect every attempt. A paused or disabled endpoint
must be reactivated before you can send a test.


## OpenAPI

````yaml reference/openapi.json POST /webhooks/endpoints/{endpoint_id}/test
openapi: 3.0.0
info:
  title: Unifystays API
  description: >-
    One unified hotel API across suppliers. Integrate once, then enable and
    manage suppliers from the Unifystays portal.
  version: '1.0'
  contact: {}
servers:
  - url: https://api-sandbox.unifystays.com
    description: Sandbox
  - url: https://api.unifystays.com
    description: Production
security:
  - x-api-key: []
tags: []
paths:
  /webhooks/endpoints/{endpoint_id}/test:
    post:
      tags:
        - Webhooks
      summary: Queue a test event for an endpoint
      description: >-
        Queues a webhook.test event for an active endpoint and returns the event
        and delivery IDs for debugging.
      operationId: WebhookController_testEndpoint
      parameters:
        - name: endpoint_id
          required: true
          in: path
          description: Webhook endpoint UUID.
          schema:
            example: 8b95a9e0-4af3-4c6d-92df-84b64256d27f
            type: string
        - name: language
          description: Enter language code(ex. en)
          in: header
          schema: {}
      responses:
        '202':
          description: Test event and delivery queued successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookQueuedResponseDto'
components:
  schemas:
    WebhookQueuedResponseDto:
      type: object
      properties:
        success:
          type: boolean
          example: true
          description: Whether the requested operation completed successfully.
        event_id:
          type: string
          example: evt_3bc2fa3d35cc4bbf98359b3fb85a4fb2
          description: Immutable webhook event identifier.
        delivery_id:
          type: string
          example: '1842'
          description: Numeric delivery identifier returned as a string.
      required:
        - success
        - event_id
        - delivery_id
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: Environment-specific API key created in the Unifystays portal

````