Skip to main content
POST
/
api
/
webhooks
/
{id}
/
test
Test Webhook
curl --request POST \
  --url https://app.opencomputer.dev/api/webhooks/{id}/test \
  --header 'X-API-Key: <api-key>'
{
  "ok": true,
  "eventType": "sandbox.created",
  "messageId": "msg_2aB…"
}
Enqueue a sample event to exercise your endpoint. It sends a real, signed message of a concrete type the destination is subscribed to (the first of its eventTypes, defaulting to sandbox.created), carrying the normal delivery envelope with event.data.test = true — so you exercise your real verifier and parser. Delivery is asynchronous — this returns once the message is accepted; check deliveries for the outcome.
The sample is published through your org’s webhook app, so it is not isolated to this one destination: any other destination subscribed to the same event type (and matching scope) also receives it (likewise marked event.data.test = true).
See Webhooks.
id
string
required
Destination ID (whk_…).
{
  "ok": true,
  "eventType": "sandbox.created",
  "messageId": "msg_2aB…"
}
messageId is the delivery’s message id — find its attempt under deliveries.