---
title: "Send a test webhook delivery"
method: POST
path: "/v1/webhooks/{id}/test"
tags: ["Webhooks"]
---

# Send a test webhook delivery

`POST /v1/webhooks/{id}/test`

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/webhooks/{id}/test`
- Auth: API key in header `x-api-key`

Queues a signed webhook.test event through the normal delivery and retry lifecycle.

## Path parameters

- `id` string, required

## Request body

- TestWebhookPayload
  - `data` object, nullable

## Response `202`

Success

- object
  - `accepted` true, required
  - `eventId` string, required
  - `deliveryId` string, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `404`: ResourceNotFoundError
- `422`: ValidationError
- `500`: InternalError
- `504`: GatewayTimeoutError

---

[API](https://skmtc.dev/samva/apis/samva-api.md) · [All operations](https://skmtc.dev/samva/apis/samva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/samva/apis/samva-api/revisions/a99408542cc3?raw)
