Test Webhook
POST https://api.echovalue.dev/webhook/<webhookId>/test
Sends a dummy payload to the specified webhook URL to verify it is working correctly.
Request
Section titled “Request”Headers:
| Header | Description |
|---|---|
x-token | Your API token |
Path parameters:
| Parameter | Type | Description | Required |
|---|---|---|---|
webhookId | string | Public webhook identifier to test | Yes |
- Inbound email webhook: a dummy inbound email payload is sent.
- Scheduled webhook: a dummy scheduled-run payload is sent.
- The call reports delivery success or failure in the JSON body.
curl 'https://api.echovalue.dev/webhook/slack/test' \ -H 'x-token: mytoken' \ -X POSTResponse
Section titled “Response”200 OK — JSON object.
{ "success": true, "message": "test webhook delivered"}On failure:
{ "success": false, "message": "webhook call failed: context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}| Field | Type | Description |
|---|---|---|
success | boolean | Whether the test webhook was successfully delivered |
message | string | Confirmation or error message |
Response headers:
| Header | Description |
|---|---|
x-balance | Wallet balance after this call |
x-cost | Credits consumed |
See Response Headers for details.
Status Codes
Section titled “Status Codes”| Status | Meaning |
|---|---|
200 | Test call processed |
401 | Invalid token |
402 | Insufficient credits |
405 | Method not POST |