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

# Test Webhook

> Send one test event to an endpoint

## Test Webhook

Sends one `webhook.test` event to this endpoint only. No other endpoint hears it and no notification is made. The delivery is returned as `pending`; list [deliveries](https://docs.postsyncer.com/api-reference/webhooks/deliveries.md) a moment later to see what your server answered.

### Request

**id** `integer` *required*

The ID of the endpoint

```bash theme={null}
curl -X POST "https://postsyncer.com/api/v1/webhooks/42/test" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
```

### Response

Status `201`. A delivery object, see [List deliveries](https://docs.postsyncer.com/api-reference/webhooks/deliveries.md) for its fields.

```json theme={null}
{
  "id": 913,
  "destination_id": 42,
  "event_id": "01JC8Z4Q2M7H3V9K5R6T1N0XWD",
  "event_type": "webhook.test",
  "status": "pending",
  "attempts": 0,
  "response_status": null,
  "response_body": null,
  "error": null,
  "duration_ms": null,
  "next_attempt_at": null,
  "request_headers": null,
  "request_body": null,
  "created_at": "2026-11-15T09:30:00+00:00",
  "updated_at": "2026-11-15T09:30:00+00:00"
}
```

Needs the `webhooks:update` permission. A test sent to an endpoint that is off fails with "The destination is off."


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.