Skip to Content
Welcome to Novee Developer Portal πŸŽ‰
DocumentationWebhookOverview

What Are Webhooks?

Webhooks allow your application to receive real-time HTTP push notifications when specific events occur within the Novee platform. Instead of continuously polling the API for updates, you register a URL and Novee will POST event data to your endpoint as events happen.

How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Novee Platform │──────▢ β”‚ Webhook System │──────▢ β”‚ Your Server β”‚ β”‚ (Event Source) β”‚ emit β”‚ (Delivery) β”‚ POST β”‚ (Registered URL)β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Flow

  1. Register β€” You register a webhook URL and choose which event types to subscribe to, scoped to a Project.
  2. Event Occurs β€” An event (e.g., a fall detection alert or vital threshold breach) happens for a user associated with your project.
  3. Delivery β€” Novee sends an HTTP POST request to your registered URL with the event payload, signed with HMAC-SHA256.
  4. Verification β€” Your server verifies the signature using the shared secret to confirm authenticity.
  5. Processing β€” Your application processes the event data and returns a 2xx response.

Key Concepts

Project

Webhooks are scoped to a Project. A project is a logical grouping within Novee that associates users and resources. When you register a webhook, you bind it to a specific projectId. All events for users belonging to that project will be delivered to the registered webhook URL.

  • Each project can have one webhook registration.
  • You can subscribe to multiple event types per registration.

Webhook Secret

When you register a webhook, the system generates a secret (prefixed with whsec_). This secret is used to create HMAC-SHA256 signatures for every payload sent to your endpoint. Store this secret securely β€” it is only returned once at registration time, and it is encrypted at rest in Novee’s database.

Event Types

Novee currently supports the following webhook event types:

TypeEnum ValueDescription
Emergency (Fall Detection)FALL_DETECTIONTriggered when a fall or emergency event is detected for a user.
Vital ThresholdVITAL_THRESHOLDTriggered when a user’s vital signs cross a configured threshold.
TestTESTA test event used to verify your webhook endpoint is working correctly.

Delivery Format

All webhook deliveries are HTTP POST requests with:

  • Content-Type: application/json
  • X-Timestamp: Unix timestamp (milliseconds) of when the payload was signed
  • X-Signature: HMAC-SHA256 hex digest of {timestamp}.{payload}

See Security & Signature Verification for full details.

Last updated on