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

# Send A Test Event

> Enqueue a synthetic test delivery so you can confirm your endpoint is reachable and your signature verification works. Returns an `event_id` you can use to poll delivery status.

**Note:** the test endpoint currently emits a synthetic `sms.sent` payload regardless of the webhook's `service_type`. A native `whatsapp.*` test event is upcoming.

**Authentication**: X-API-Key header required



## OpenAPI

````yaml /openapi.json post /v1/webhooks/{webhook_id}/test
openapi: 3.1.0
info:
  title: Briq API
  description: Karibu Briq API Documentation
  version: '0.8'
servers:
  - url: https://karibu.briq.tz
    description: Production
  - url: https://pre-release.karibu.briq.tz
    description: Pre-release
  - url: http://karibu.briq.tz
    description: LocalPass
security: []
paths:
  /v1/webhooks/{webhook_id}/test:
    post:
      tags:
        - Karibu-Webhooks
      summary: Send A Test Event
      description: >-
        Enqueue a synthetic test delivery so you can confirm your endpoint is
        reachable and your signature verification works. Returns an `event_id`
        you can use to poll delivery status.


        **Note:** the test endpoint currently emits a synthetic `sms.sent`
        payload regardless of the webhook's `service_type`. A native
        `whatsapp.*` test event is upcoming.


        **Authentication**: X-API-Key header required
      operationId: send_webhook_test_event_v1_webhooks__webhook_id__test_post
      parameters:
        - name: webhook_id
          in: path
          required: true
          schema:
            type: string
            title: Webhook Id
        - name: X-API-Key
          in: header
          required: true
          schema:
            type: string
            title: X-Api-Key
      responses:
        '202':
          description: Test event enqueued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookTestResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    WebhookTestResult:
      properties:
        event_id:
          type: string
          title: Event Id
          description: The event_id of the created test delivery (prefixed test_).
          examples:
            - test_9f8e7d6c5b4a3210
        message:
          type: string
          title: Message
          description: Human-readable confirmation.
      type: object
      required:
        - event_id
        - message
      title: WebhookTestResult
      description: Result of enqueuing a synthetic test delivery.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````