Webhooks
Register HTTPS endpoints to receive real-time platform event notifications. All deliveries are signed with HMAC-SHA256.
The Webhook Object
| Field | Type | Description |
|---|---|---|
| id | string | Unique webhook subscription ID (e.g. wh_001) |
| url | string | HTTPS endpoint that receives event POST requests |
| events | string[] | List of event type patterns to subscribe to (e.g. workflow.completed, agent.*) |
| status | string | Subscription health: active | paused | failing | disabled |
| secret | string | HMAC-SHA256 signing secret prefixed with whsec_ (shown only on creation) |
| failureCount | integer | Number of consecutive failed delivery attempts (auto-pauses at 10) |
| lastDeliveredAtnullable | datetime | ISO 8601 UTC timestamp of the last successful delivery |
| createdAt | datetime | ISO 8601 UTC timestamp when the subscription was created |
Endpoints
Returns all webhook subscriptions for a project.
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| projectIde.g. proj_rpm_001 | query | string | required | Project ID |
Request
curl "https://api.healthcloud.ai/v1/webhooks?projectId=proj_rpm_001" \ -H "Authorization: Bearer hc_test_sk_demo_live_xxxxxx"
Response
Response200
{ "data": [ { "id": "wh_001", "url": "https://api.yourapp.com/webhooks/healthcloud", "events": ["workflow.completed", "diagnostic.result_ready"], "status": "active", "secret": "whsec_••••••••", "createdAt": "2026-01-01T00:00:00Z" } ] }