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

# Send a test delivery

> A signed delivery marked as a test, to an endpoint or a SIEM stream.



## OpenAPI

````yaml openapi/en/cell.json POST /v1/webhooks/endpoints/{endpoint_id}/test
openapi: 3.1.0
info:
  title: Niadra data API
  version: '1'
  description: >-
    Writing, context, history, objects, identity, privacy and governance of one
    space. Every space has a stable address, with the space and the region in
    its name.
servers:
  - url: https://{space}.{region}.api.niadra.com
    variables:
      space:
        default: acme-prod
        description: The space, which comes in the source key.
      region:
        default: us-east-2
        description: The region of the space, which also comes in the key.
security: []
paths:
  /v1/webhooks/endpoints/{endpoint_id}/test:
    post:
      tags:
        - operate
      summary: Send a test delivery
      description: >-
        Sends a signed delivery marked as a test to a webhook endpoint or a SIEM
        stream, once; follow it in

        the deliveries.


        **Authentication.** Console person token with the `integration` role (or
        admin), or a source key with the `admin` scope.
      operationId: test_endpoint_v1_webhooks_endpoints__endpoint_id__test_post
      parameters:
        - in: path
          name: endpoint_id
          required: true
          schema:
            maxLength: 128
            title: Endpoint Id
            type: string
          description: >-
            The `endpoint_id` of the endpoint or SIEM stream, as in
            `webhook-endpoints`.
          example: whe_crm
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeliveryView'
              example:
                delivery_id: 0192f8d4-1a2b-7c3d-8e4f-5a6b7c8d9e0f
                endpoint_id: whe_crm
                event_type: webhook.test
                status: pending
                attempts: 0
                last_status_code: null
                last_error: null
                created_at: '2026-09-24T12:00:00Z'
                delivered_at: null
                next_attempt_at: null
          description: >-
            The test delivery is queued; follow it in `GET
            /v1/webhooks/deliveries`.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - sourceKey: []
        - personToken: []
components:
  schemas:
    DeliveryView:
      additionalProperties: false
      properties:
        attempts:
          title: Attempts
          type: integer
        created_at:
          format: date-time
          title: Created At
          type: string
        delivered_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Delivered At
        delivery_id:
          title: Delivery Id
          type: string
        endpoint_id:
          title: Endpoint Id
          type: string
        event_type:
          title: Event Type
          type: string
        last_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error
        last_status_code:
          anyOf:
            - type: integer
            - type: 'null'
          title: Last Status Code
        next_attempt_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Next Attempt At
        status:
          title: Status
          type: string
      required:
        - delivery_id
        - endpoint_id
        - event_type
        - status
        - attempts
        - created_at
      title: DeliveryView
      type: object
    Problem:
      additionalProperties: false
      description: RFC 9457 problem details; `code` comes from the versioned error catalog.
      properties:
        code:
          title: Code
          type: string
        detail:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Detail
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Request Id
        status:
          title: Status
          type: integer
        title:
          title: Title
          type: string
        type:
          default: about:blank
          title: Type
          type: string
      required:
        - title
        - status
        - code
      title: Problem
      type: object
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````