Skip to content

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.

Headers:

HeaderDescription
x-tokenYour API token

Path parameters:

ParameterTypeDescriptionRequired
webhookIdstringPublic webhook identifier to testYes
  • 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.
Terminal window
curl 'https://api.echovalue.dev/webhook/slack/test' \
-H 'x-token: mytoken' \
-X POST

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)"
}
FieldTypeDescription
successbooleanWhether the test webhook was successfully delivered
messagestringConfirmation or error message

Response headers:

HeaderDescription
x-balanceWallet balance after this call
x-costCredits consumed

See Response Headers for details.

StatusMeaning
200Test call processed
401Invalid token
402Insufficient credits
405Method not POST