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

# Send a test webhook to the configured URL

> Sends a single webhook with fixture data to the client's configured URL. Uses the client's real webhook secret so signature verification works as in production. Envelope and persisted payload both carry `"test": true` so the receiver can filter and the dashboard can mark it.



## OpenAPI

````yaml https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /webhooks/test
openapi: 3.1.0
info:
  title: Deposit Service API
  version: 1.0.0
  description: >-
    Cross-chain deposit processing service with automatic token bridging and gas
    sponsorship
servers:
  - url: https://v1.orchestrator.rhinestone.dev/deposit-processor
security: []
paths:
  /webhooks/test:
    post:
      tags:
        - Webhooks
      summary: Send a test webhook to the configured URL
      description: >-
        Sends a single webhook with fixture data to the client's configured URL.
        Uses the client's real webhook secret so signature verification works as
        in production. Envelope and persisted payload both carry `"test": true`
        so the receiver can filter and the dashboard can mark it.
      parameters:
        - schema:
            type: string
            description: API key for authentication
            example: your-api-key
          required: true
          description: API key for authentication
          name: x-api-key
          in: header
        - schema:
            type: string
            pattern: ^\d{4}-\d{2}\.[a-z0-9]+$
            description: >-
              API version identifier (e.g. "2026-04.amazon"). Optional today,
              will become required in a future release.
            example: 2026-04.amazon
          required: false
          description: >-
            API version identifier (e.g. "2026-04.amazon"). Optional today, will
            become required in a future release.
          name: x-api-version
          in: header
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestWebhookRequestBody'
      responses:
        '200':
          description: Test webhook dispatched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TestWebhookResponse'
        '400':
          description: >-
            Invalid request, unknown type, or client has no webhook URL
            configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: API key lacks required deposits scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    TestWebhookRequestBody:
      type: object
      properties:
        type:
          type: string
          enum:
            - deposit-received
            - bridge-started
            - bridge-delayed
            - bridge-complete
            - bridge-failed
            - deposit-rejected
            - post-bridge-swap-complete
            - post-bridge-swap-failed
            - deposit-refunded
            - error
          description: Which webhook type to simulate
          example: bridge-started
      required:
        - type
    TestWebhookResponse:
      type: object
      properties:
        message:
          type: string
        eventId:
          type: string
      required:
        - message
        - eventId
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
              path:
                type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
              code:
                type: string
            required:
              - message
      required:
        - error

````