Sends a webhook.test POST request to the Webhook's callback URL. Success is returned only after the callback responds with 2xx. The test is not retried, does not save delivery records, and does not affect the consecutive failure count.
Prerequisites
Endpoint and authentication configured. For details, see API overview and authentication.
Endpoint
POST /webhook_endpoints/{id}/test
Path parametersidstring (必选)Webhook ID, format wep_<ULID> | Request example |
Response fieldstypestringAlways eventid stringEvent ID, format whe_<ULID>created_at stringEvent creation time, ISO 8601data objectEvent payloaddata.id stringWebhook IDdata.type stringAlways webhook.testdata.workspace_id stringWorkspace IDrequest_id stringUnique identifier of this request; include it when troubleshooting issues | Response |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 404 | 11800001 | webhook not found |
| 409 | — | Webhook is not enabled |
| 502 | 11800015 | Webhook endpoint returned HTTP 408, response body: request timeout |