Skip to main content
GET
/
api
/
webhooks
List Webhooks
curl --request GET \
  --url https://app.opencomputer.dev/api/webhooks \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "whk_3f9a2c",
      "name": "prod",
      "url": "https://app.example.com/oc-webhook",
      "eventTypes": ["sandbox.stopped"],
      "sandboxId": null,
      "enabled": true,
      "hasSecret": true,
      "createdAt": "2026-06-24T12:00:00Z",
      "updatedAt": "2026-06-24T12:00:00Z"
    }
  ]
}
List the org’s webhook destinations. Deleted destinations are excluded. See Webhooks.
{
  "data": [
    {
      "id": "whk_3f9a2c",
      "name": "prod",
      "url": "https://app.example.com/oc-webhook",
      "eventTypes": ["sandbox.stopped"],
      "sandboxId": null,
      "enabled": true,
      "hasSecret": true,
      "createdAt": "2026-06-24T12:00:00Z",
      "updatedAt": "2026-06-24T12:00:00Z"
    }
  ]
}