MemoryKit

Test Webhook

Send a test event to verify your webhook endpoint.

POST/v1/webhooks/{webhookId}/test

Path parameters

webhookIdUUIDrequired

The webhook ID.

Response

Returns 200 OK with the test result.

successboolean

Whether the test was successful.

status_codenumber

HTTP status code returned by the endpoint.

errorstring

Error message if the test failed.

Example response
{
  "success": true,
  "status_code": 200
}

If the endpoint is unreachable:

Example response
{
  "success": false,
  "error": "Connection timeout after 10s"
}
const result = await mk.webhooks.test("wh_abc123");
if (!result.success) {
  console.error("Webhook test failed:", result.error);
}
Edit on GitHub

On this page