---
title: "Test Webhook Delivery"
method: POST
path: "/webhooks/{id}/test"
tags: ["Webhooks"]
---

# Test Webhook Delivery

`POST /webhooks/{id}/test`

Fire a synthetic delivery to the registered URL with `{ "test": true }` payload. Useful when validating endpoint signature handling. Records the result in failure_count / last_status_code.

## Path parameters

- `id` integer, required

## Request body

- EmptyBody — This endpoint reads nothing from the request body. Send {} (or any object, which is ignored).

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `id` number, nullable
    - `delivered` boolean, nullable
    - `status_code` number, nullable
    - `duration_ms` number, nullable

## Other responses

- `400` — Validation error
- `401` — Missing or invalid API key

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/6828e5609564/schema)
