PostZen
Webhooks

Test a webhook

POST
/v1/webhooks/{webhookId}/test

Queues a webhook.test event through the normal delivery pipeline using the endpoint's current URL, secret, and custom headers. The endpoint must be active.

Authorization

bearerAuth
AuthorizationBearer <token>

PostZen API key.

In: header

Path Parameters

webhookId*string

PostZen webhook endpoint id.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/webhooks/string/test"
{  "message": "string",  "eventId": "string",  "deliveryId": "string"}
{  "error": "Unauthorized"}
{  "error": "API key requires read_write permission"}
{  "error": "Not found"}
{  "error": "string"}
{  "error": "rate_limited",  "retryAfter": 30}
{  "error": "Failed to create post"}