Skip to content

Test Webhook ​

Send a synthetic test event to the webhook's URL and report whether the endpoint responded successfully.

POST /v1/products/:id/webhooks/:webhookId/test

Path Parameters ​

ParameterDescription
idProduct ID
webhookIdWebhook ID

Test payload ​

Your endpoint receives:

json
{
  "event": "test",
  "timestamp": "2026-06-12T10:00:00Z",
  "data": {
    "message": "Test webhook from Packedge"
  }
}

with the X-Webhook-Event: test and X-Webhook-Secret headers set.

Response ​

json
{
  "data": {
    "success": true,
    "statusCode": 200
  }
}

On failure success is false and either statusCode (non-2xx response) or error (network/URL error) explains why.

Example ​

bash
curl -X POST "https://api.packedge.dev/v1/products/prd_xxx/webhooks/whk_xxx/test" \
  -H "Authorization: Bearer pk_your_api_key"

Notes ​

  • A test delivery does not count toward the auto-disable failure streak, but it does update lastTriggeredAt
  • The request times out after 10 seconds