Send a test delivery now
POST
/webhooks/{id}/test
const url = 'https://app.whatsetter.com/api/v1/webhooks/example/test';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.whatsetter.com/api/v1/webhooks/example/test \ --header 'Authorization: Bearer <token>'Immediately delivers a signed sample event (is_test: true) to the
subscription’s endpoint and reports its HTTP response. Integrate
without waiting for a real event.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Delivery attempt result
Media typeapplication/json
object
data
object
delivered
boolean
endpoint_status
integer | null
error
string | null
event_id
string
Examplegenerated
{ "data": { "delivered": true, "endpoint_status": 1, "error": "example", "event_id": "example" }}Missing, unknown or revoked API key
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}Resource not found in this workspace
Media typeapplication/json
object
error
object
code
string
message
string
Examplegenerated
{ "error": { "code": "example", "message": "example" }}
