https://api.orceum.com/v1
These endpoints are used by your app to push events to Orceum (not by users). Authentication uses your app’s whs_* webhook secret combined with HMAC signature.
Push an Event
Required Headers
| Header | Value |
|---|---|
Content-Type | application/json |
X-Orceum-Webhook-Secret | Your whs_* secret |
X-Hub-Signature-256 | sha256=<hmac_hex> — HMAC-SHA256 of the compact request body |
X-Timestamp | ISO 8601 UTC timestamp |
Request Body
The Orceum installation ID of the user to notify. From the
INSTALLED lifecycle webhook.A dot-separated event descriptor (e.g.,
task.completed, payment.failed, export.ready).Note: These event types are entirely custom and defined by you. Orceum does not enforce a predefined list of events. The Orceum AI simply reads this string to understand the context of what happened in your external system.Payload with all relevant context. The assistant uses this to compose the message to the user. Be specific.
ISO 8601 UTC timestamp of when the event occurred, e.g.
2024-01-15T12:00:00ZEvent urgency. Affects delivery behavior.
| Value | Behavior |
|---|---|
low | May be batched into digest |
normal | Standard delivery |
high | Prioritized, less likely to be deferred |
critical | Immediate delivery regardless of user settings |
Optional key-value pairs for your tracking. Not shown to users.
Example Request
Response 200
Unique ID for this event. Use for debugging and support.
Current event status:
QUEUED, PROCESSING, PROCESSED, IGNORED, DEFERREDWhat Orceum did with the event:
| Value | Meaning |
|---|---|
NOTIFIED | Push notification sent, no new conversation |
CONVERSATION_STARTED | New conversation opened with event context |
QUEUED | Queued for digest delivery |
IGNORED | Filtered out (low priority, quiet hours, bouncer decision) |
Error Responses
| Status | Cause |
|---|---|
401 | Invalid or missing signature |
404 | installation_id not found or not active |
422 | Invalid request body (missing required fields) |
429 | Rate limit exceeded |