POST
https://demo.notifuse.com/api/webhookSubscriptions.test Sends a test webhook to the subscription's URL to verify connectivity and configuration.
Authorizations
Authorization string header required
Bearer authentication header of the form Bearer <token>, where <token> is your API key.
Body application/json
workspace_id string required
The ID of the workspace
- Example: ws_1234567890
id string required
The ID of the subscription to test
- Example: whsub_a1b2c3d4e5f6
event_type string
Optional event type to use for the test webhook payload
- Example: contact.created
Response
200 Test webhook sent (check response for success/failure) object
success boolean
Whether the test webhook was delivered successfully
- Example: true
status_code integer
HTTP status code returned by the webhook endpoint
- Example: 200
response_body string
Response body from the webhook endpoint
- Example: {"received": true}
error string | null
Error message if the test failed
400 Bad request - missing parameters object
error string required
Error message
401 Unauthorized - invalid or missing authentication token object
error string required
Error message
404 Webhook subscription not found object
error string required
Error message
500 Internal server error object
error string required
Error message