/webhooks/{webhookId}/testSend a synthetic webhook event
Authentication
Bearer authentication is required for this operation.
Path parameters
webhookIdrequiredstringWebhook identifier.
Request body
event_typerequiredstringCatalog event type to send as a synthetic test. Values: "email.queued", "email.scheduled", "email.sending", "email.sent", "email.delivered", "email.delivery_delayed", "email.bounced", "email.complained", "email.opened", "email.clicked", "email.failed", "email.canceled", "email.received", "email.stored", "domain.created", "domain.verified", "domain.verification_failed", "domain.updated", "domain.deleted", "api_key.created", "api_key.revoked", "webhook.endpoint.created", "webhook.endpoint.updated", "webhook.endpoint.disabled", "webhook.endpoint.deleted".
Request examples
curl --request POST 'https://api.au.boundry.dev/webhooks/string/test' \
+ -H 'Authorization: Bearer $BOUNDRY_API_KEY' \
+ -H 'Content-Type: application/json' \
+ --data '{"event_type":"email.sent","webhookId":"wh_01j0example"}'202 response
Queued synthetic delivery.
attempt_countrequiredintegerNumber of completed attempts.
completed_atrequiredstring (date-time) | null | nullTimestamp when delivery completed, or null.
Option 1string (date-time)Timestamp when delivery completed.
Option 2null | nullOne permitted response shape.
created_atrequiredstring (date-time)Timestamp when delivery was created. Example: "2026-08-14T12:00:00.000Z".
errorrequiredstring | null | nullMost recent error, or null.
Option 1stringMost recent error.
Option 2null | nullOne permitted response shape.
event_idrequiredstringStable event identifier. Example: "msg_01j0example".
event_typerequiredstringDelivered event type.
idrequiredstringWebhook delivery identifier. Example: "msg_01j0example".
next_attempt_atrequiredstring (date-time) | null | nullTimestamp of the next scheduled attempt, or null.
Option 1string (date-time)Timestamp of the next scheduled attempt.
Option 2null | nullOne permitted response shape.
objectrequiredstringResource type discriminator. Values: "webhook_delivery".
response_coderequiredinteger | null | nullMost recent response status, or null.
Option 1integerOne permitted response shape.
Option 2null | nullOne permitted response shape.
statusrequiredstringDelivery status. Values: "pending", "delivered", "failed".
updated_atrequiredstring (date-time)Timestamp when delivery was last updated. Example: "2026-08-14T12:00:00.000Z".
webhook_idrequiredstringTarget webhook identifier. Example: "msg_01j0example".
{
"event_type": "email.sent",
"webhookId": "wh_01j0example"
}400 response
Request body was not valid JSON.
errorsarrayDetailed validation issues. Absent only for the historical 401 API-key envelope.
coderequiredstringZod validation issue code. Example: "invalid_format".
messagerequiredstringHuman-readable validation failure. Example: "Invalid email address".
pathrequiredstringDot-separated location of the invalid value. Example: "from".
messagerequiredstringHuman-readable error message. Example: "Request validation failed.".
namerequiredstringMachine-readable error category. Values: "validation_error", "application_error", "not_found". Example: "validation_error".
{
"event_type": "email.sent",
"webhookId": "wh_01j0example"
}401 response
Invalid API key.
errorsarrayDetailed validation issues. Absent only for the historical 401 API-key envelope.
coderequiredstringZod validation issue code. Example: "invalid_format".
messagerequiredstringHuman-readable validation failure. Example: "Invalid email address".
pathrequiredstringDot-separated location of the invalid value. Example: "from".
messagerequiredstringHuman-readable error message. Example: "Request validation failed.".
namerequiredstringMachine-readable error category. Values: "validation_error", "application_error", "not_found". Example: "validation_error".
{
"event_type": "email.sent",
"webhookId": "wh_01j0example"
}404 response
Webhook, delivery, or event not found.
errorsarrayDetailed validation issues. Absent only for the historical 401 API-key envelope.
coderequiredstringZod validation issue code. Example: "invalid_format".
messagerequiredstringHuman-readable validation failure. Example: "Invalid email address".
pathrequiredstringDot-separated location of the invalid value. Example: "from".
messagerequiredstringHuman-readable error message. Example: "Request validation failed.".
namerequiredstringMachine-readable error category. Values: "validation_error", "application_error", "not_found". Example: "validation_error".
{
"event_type": "email.sent",
"webhookId": "wh_01j0example"
}422 response
Request validation failed.
errorsarrayDetailed validation issues. Absent only for the historical 401 API-key envelope.
coderequiredstringZod validation issue code. Example: "invalid_format".
messagerequiredstringHuman-readable validation failure. Example: "Invalid email address".
pathrequiredstringDot-separated location of the invalid value. Example: "from".
messagerequiredstringHuman-readable error message. Example: "Request validation failed.".
namerequiredstringMachine-readable error category. Values: "validation_error", "application_error", "not_found". Example: "validation_error".
{
"event_type": "email.sent",
"webhookId": "wh_01j0example"
}429 response
Webhook test rate limit exceeded.
errorsarrayDetailed validation issues. Absent only for the historical 401 API-key envelope.
coderequiredstringZod validation issue code. Example: "invalid_format".
messagerequiredstringHuman-readable validation failure. Example: "Invalid email address".
pathrequiredstringDot-separated location of the invalid value. Example: "from".
messagerequiredstringHuman-readable error message. Example: "Request validation failed.".
namerequiredstringMachine-readable error category. Values: "validation_error", "application_error", "not_found". Example: "validation_error".
{
"event_type": "email.sent",
"webhookId": "wh_01j0example"
}