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

# Send Test

> Send a signed `webhook.test` event NOW and answer with the outcome.

Runs inline (one attempt, 10 s timeout, no retry) so the merchant sees the
endpoint's answer immediately; the attempt lands in the delivery log like
any other. Works on a paused subscription too: that is when you test.



## OpenAPI

````yaml https://api.vellaro.io/openapi.json post /api/v1/admin/webhooks/{sub_id}/test
openapi: 3.1.0
info:
  title: Vellaro API
  description: Vellaro 2026 — E-commerce API
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags: []
paths:
  /api/v1/admin/webhooks/{sub_id}/test:
    post:
      tags:
        - admin:webhooks
      summary: Send Test
      description: >-
        Send a signed `webhook.test` event NOW and answer with the outcome.


        Runs inline (one attempt, 10 s timeout, no retry) so the merchant sees
        the

        endpoint's answer immediately; the attempt lands in the delivery log
        like

        any other. Works on a paused subscription too: that is when you test.
      operationId: send_test_api_v1_admin_webhooks__sub_id__test_post
      parameters:
        - name: sub_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Sub Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_WebhookTestOut_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiResponse_WebhookTestOut_:
      properties:
        data:
          anyOf:
            - $ref: '#/components/schemas/WebhookTestOut'
            - type: 'null'
        meta:
          anyOf:
            - $ref: '#/components/schemas/PaginationMeta'
            - type: 'null'
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
      type: object
      title: ApiResponse[WebhookTestOut]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WebhookTestOut:
      properties:
        ok:
          type: boolean
          title: Ok
        duration_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duration Ms
        delivery:
          $ref: '#/components/schemas/WebhookDeliveryOut'
      type: object
      required:
        - ok
        - duration_ms
        - delivery
      title: WebhookTestOut
      description: Outcome of POST /admin/webhooks/{id}/test (INT-22).
    PaginationMeta:
      properties:
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        total:
          type: integer
          title: Total
        total_pages:
          type: integer
          title: Total Pages
      type: object
      required:
        - page
        - page_size
        - total
        - total_pages
      title: PaginationMeta
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    WebhookDeliveryOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        subscription_id:
          type: string
          format: uuid
          title: Subscription Id
        event_type:
          type: string
          title: Event Type
        status:
          type: string
          title: Status
        attempt:
          type: integer
          title: Attempt
        response_status:
          anyOf:
            - type: integer
            - type: 'null'
          title: Response Status
        response_body:
          anyOf:
            - type: string
            - type: 'null'
          title: Response Body
        next_retry_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Next Retry At
        delivered_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Delivered At
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - subscription_id
        - event_type
        - status
        - attempt
        - response_status
        - response_body
        - next_retry_at
        - delivered_at
        - created_at
      title: WebhookDeliveryOut
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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