---
title: "Send a test event"
method: POST
path: "/v1/webhook-endpoints/{id}/test/"
tags: ["Webhook endpoints"]
---

# Send a test event

`POST /v1/webhook-endpoints/{id}/test/`

## Request

- Base URL: `https://api.pdfbetter.com`
- URL: `https://api.pdfbetter.com/v1/webhook-endpoints/{id}/test/`
- Auth: HTTP bearer

Queues a signed `ping` event to this endpoint (same signing, retries and timeout as real events).

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Response `202`

Send a test event

- WebhookTest
  - `object` 'webhook_test', required
  - `eventId` string, required
  - `deliveryId` string, required

## Other responses

- `400`: Invalid request (see `error.details.issues`)
- `401`: Missing or invalid API key
- `402`: Your plan doesn't include this (API access needs Business) or a monthly allowance is used up
- `403`: The API key lacks the required scope
- `404`: Not found (or not yours)
- `409`: Conflict with the current state
- `422`: Validation failed
- `429`: Rate limited — see RateLimit-* and Retry-After

---

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