Backend API
cURL
curl --request POST \ --url https://api.wacht.dev/webhooks/apps/{app_name}/endpoints/{endpoint_id}/test \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "event_name": "user.created", "payload": { "test": true, "user_id": "123" } } '
{ "success": true, "status_code": 200, "response_time_ms": 145, "response_body": "<string>", "error": "<string>" }
Send a test event to a webhook endpoint
API key authentication (format: Bearer {api_key})
Webhook app name
Endpoint ID
Event name to test
"user.created"
Test payload (defaults to test event if not provided)
{ "test": true, "user_id": "123" }
Test result
Whether test was successful
true
HTTP status code from endpoint
200
Response time in milliseconds
145
Response body from endpoint
Error message if test failed
Was this page helpful?