API reference
Connect Omninium to your other systems in both directions: they start automations, and automations call them when something changes. This page covers every public endpoint, how requests are signed and the limits.
- Base URL
- https://api.omninium.com
On this page
What you can build
Omninium talks to other software through automations. The API is small on purpose: one signed URL per automation coming in, any HTTPS endpoint going out.
Other tools start a run
A checkout, a form tool or your backend posts JSON to an automation’s private URL, which creates or updates rows and tells people.
- Your system
- Signed POST
- Webhook automation
- Records · tasks · notifications
Automations call your API
A row is added, changed or removed, or a schedule comes round, and the automation calls any HTTPS endpoint with values from the row.
- Row created or changed
- Automation
- HTTP request step
- Your API
Start an automation from your system
- Use
- A POST to the automation’s Webhook URL
- Proves it is you
- HMAC signature with the automation’s secret
Send record changes to your system
- Use
- An automation with an HTTP request step
- Proves it is you
- Headers you set on the step
Receive signed test events on your server
- Use
- A webhook endpoint in Settings › Integrations & API
- Proves it is you
- HMAC signature with the endpoint’s
whsec_secret
Check that an API key works
- Use
GET /api-key- Proves it is you
- The key, sent as a Bearer token
Tip: The API opens from Pro
API keys open from Pro and webhooks from Pro; the pricing page lists each plan's daily API calls. Automations run on every plan, and the only thing one can spend is credits, through its Invoke model step.
Quickstart
Three first calls, each under five minutes. Pick the one that matches what you are building.
Your billing system updates the Accounts table the moment a customer changes plan.
- 1
Create the automation
Pick Webhook, “When a webhook arrives”, as the trigger and add an Upsert record step on Accounts with the external id
{{trigger.payload.account_id}}. - 2
Copy the URL and the secret
Save the trigger, then Copy the Webhook URL and the Signing secret. Only people who manage automations see the secret.
- 3
Turn it on
Switch the automation On. A draft or paused automation refuses every call.
- 4
Send a signed call
Sign and POST the JSON as below. A
201with arunIdmeans the run has started.
BODY='{"account_id":"northlight","name":"Northlight Coffee","plan":"Core","mrr":1540,"renews":"2026-11-14"}'TS=$(date +%s)SIG=$(printf '%s.%s' "$TS" "$BODY" \ | openssl dgst -sha256 -hmac "$OMNINIUM_SIGNING_SECRET" -hex \ | sed 's/^.* //')curl -X POST https://api.omninium.com/public/automations/webhooks/aut_06fh3k9qm8x4c7v1b5n0r2t9wy \ -H "Content-Type: application/json" \ -H "Webhook-Timestamp: $TS" \ -H "Webhook-Signature: v1=$SIG" \ -H "Idempotency-Key: northlight-core-2026-10-06" \ --data "$BODY"You know your server receives and trusts what Omninium signs.
- 1
Add an endpoint
In Settings › Integrations & API › Webhooks, press Add endpoint and paste an Endpoint URL on a public
httpsaddress. - 2
Copy the signing secret
Open the endpoint’s menu and Copy signing secret. It starts with
whsec_. - 3
Verify, then answer 2xx
Check the signature on the raw body and answer with any
2xxwithin ten seconds. - 4
Watch the delivery
Send test event and open Deliveries to see the status code your server returned.
import { createHmac, timingSafeEqual } from "node:crypto";const TOLERANCE_SECONDS = 300;export function isFromOmninium(rawBody, headers, secret) { const timestamp = headers["webhook-timestamp"] ?? ""; const age = Math.abs(Date.now() / 1000 - Number(timestamp)); if (!/^\d{1,12}$/.test(timestamp) || age > TOLERANCE_SECONDS) return false; const expected = createHmac("sha256", secret) .update(`${timestamp}.${rawBody}`) .digest("hex"); return (headers["webhook-signature"] ?? "") .split(" ") .map((value) => value.replace(/^v1=/, "")) .some( (candidate) => candidate.length === expected.length && timingSafeEqual(Buffer.from(candidate), Buffer.from(expected)), );}You have a working key and know which workspace it belongs to.
- 1
Create a key
In Settings › Integrations & API › API keys, press Create API key, name it (“Billing service”) and pick when it expires.
- 2
Copy it once
Copy API key on the next screen. You won’t be able to see it again.
- 3
Make the first call
Call
GET /api-keywith the key as a Bearer token. A200names the key and its workspace.
curl https://api.omninium.com/api-key \ -H "Authorization: Bearer $OMNINIUM_API_KEY"Base URL & authentication
One base URL, and a different credential for each direction.
Base URL
Every request goes to https://api.omninium.com over HTTPS. The app shows each automation’s full Webhook URL, so you can copy it rather than build it.
Two ways to prove who you are
The webhook trigger
- How
Webhook-TimestampandWebhook-Signature: v1=<hex>on every call- Where the secret comes from
- The automation’s Signing secret, one per automation
Outgoing webhook endpoints
- How
- The same two headers, signed by Omninium, for you to check
- Where the secret comes from
- Copy signing secret on the endpoint, one per endpoint
API keys
- How
Authorization: Bearer ik_…- Where the secret comes from
- Create API key, shown once
API keys
- Create one in Settings › Integrations & API › API keys with a name and an expiry: 30 days, 90 days (the default), 1 year or Never.
- The full key is shown once, under “Copy your new key”. Afterwards the list shows its first characters, when it was last used and when it expires.
- A key belongs to the workspace it was made in. In the app’s words: “Keys act as you, limited to this workspace.”
- Revoke stops a key at once. The confirmation tells you when it was last used, so you know what might break.
- Creating and revoking keys, and adding webhook endpoints, needs a role that includes Organize, move and delete content.
Limit: What a key can open today
Only GET /api-key, which tells a key who it is. No endpoint reads or writes records, tasks or documents with a key. To move data, use the webhook trigger coming in and the HTTP request step going out.
Keep secrets on the server
Signing secrets and API keys belong in your server’s secret store, never in a browser, a mobile app or a public repository. Anyone holding an automation’s signing secret can start that automation.
Endpoints
The complete public surface. Each endpoint has its own link; the samples switch language together.
https://api.omninium.com/
Start an automation run
Start one run of an automation whose trigger is Webhook. Fernhill’s billing system calls it whenever an account changes plan, and the automation upserts the row in Accounts.
AuthenticationA signature over the timestamp and the raw body, made with the automation’s signing secret.
Parameters
automationId- In
- Path
- Required
- Yes
- Detail
- The automation to start. It is the last part of the Webhook URL the trigger shows.
Webhook-Timestamp- In
- Header
- Required
- Yes
- Detail
- Unix time in seconds when you signed the request. More than five minutes off the server’s clock is refused.
Webhook-Signature- In
- Header
- Required
- Yes
- Detail
v1=followed by the hex HMAC-SHA256 of<timestamp>.<raw body>, keyed with the signing secret.
Idempotency-Key- In
- Header
- Required
- No
- Detail
- Up to 200 characters of your own. Send the same key again and you get the first run back, not a new one.
JSON object- In
- Body
- Required
- Yes
- Detail
- Any JSON object, up to 256 KB. Arrays, plain text and broken JSON are refused with
400.
Request
BODY='{"account_id":"northlight","name":"Northlight Coffee","plan":"Core","mrr":1540,"renews":"2026-11-14"}'TS=$(date +%s)SIG=$(printf '%s.%s' "$TS" "$BODY" \ | openssl dgst -sha256 -hmac "$OMNINIUM_SIGNING_SECRET" -hex \ | sed 's/^.* //')curl -X POST https://api.omninium.com/public/automations/webhooks/aut_06fh3k9qm8x4c7v1b5n0r2t9wy \ -H "Content-Type: application/json" \ -H "Webhook-Timestamp: $TS" \ -H "Webhook-Signature: v1=$SIG" \ -H "Idempotency-Key: northlight-core-2026-10-06" \ --data "$BODY"Responses
{ "accepted": true, "duplicate": false, "runId": "run_06fh3m2a7c9d4e8g1j5k0p6s3v"}What happens next
- The run starts in the background; the answer comes back before any step has run. Follow it in the automation’s Runs tab, where it shows as a webhook call.
- Your JSON becomes Trigger › Payload. A step reads one value with a token such as
{{trigger.payload.account_id}}; a list stays a list when a field holds nothing but that token. - A
201means a new run. A200with"duplicate": truemeans you already sent this Idempotency-Key, and you get the first run’s id back instead of a second run.
Limit: Every refusal looks the same
An unknown automation, an automation that is not On, a trigger that is no longer Webhook and a signature that does not match all answer 404. Nobody can probe the URL to learn which automations exist.
https://api.omninium.com/
Check an API key
Ask who a key is: test that it works, has not expired or been revoked, which workspace it belongs to and which scopes it holds. Stacks, tables, records, tasklists, tasks and documents answer the same key under /v1/workspaces/{workspaceId}/….
AuthenticationAuthorization: Bearer <API key>
Parameters
Authorization- In
- Header
- Required
- Yes
- Detail
Bearerfollowed by the whole key,ik_included. Without the header at all, Omninium answers401withcredential_missing.
Request
curl https://api.omninium.com/api-key \ -H "Authorization: Bearer $OMNINIUM_API_KEY"Responses
{ "accountId": "acc_06fh2w9x8y7z6a5b4c3d2e1f0g", "apiKeyId": "key_06fh2w9x8y7z6a5b4c3d2e1f0g", "apiKeyReach": "workspace", "audience": "public", "scopes": [], "workspaceId": "wsp_06f9q2c8n4r7t1v5x3z0b6d8hk"}Reading the answer
accountId- The key’s own identity. Changes made in its name are linked back to the person who created it.
apiKeyId- The id shown next to the key in Settings › Integrations & API › API keys.
apiKeyReachworkspace: the key works inside the one workspace it was created in.scopes- What the key may do, as chosen when it was created:
tables:read,records:writeand so on. A call outside them answers403. workspaceId- The workspace the key belongs to.
Incoming webhooks
The webhook trigger turns a signed POST into a run. Here is everything your sender has to get right.
Signing a call
- 1
Timestamp
Take the current Unix time in whole seconds and send it as
Webhook-Timestamp. - 2
Build the signed string
Join the timestamp, a full stop and the raw body exactly as you will send it:
1791278040.{"account_id":"northlight",…}. - 3
Sign it
Compute HMAC-SHA256 of that string with the signing secret, write it as lowercase hex and send
Webhook-Signature: v1=<hex>.
Tip: Sign the bytes you send
Serialize the JSON once, sign that string and send that same string. Re-serializing after signing, or letting a client reformat the body, changes the bytes and the call is refused.
Rules the trigger enforces
Freshness
The timestamp may be at most five minutes from the server’s clock, in either direction. Keep your server’s clock accurate.
Body
A JSON object up to 256 KB. Larger bodies get
413.Retries
Send the same
Idempotency-Key(up to 200 characters) when you retry. A repeat returns200,"duplicate": trueand the first run’s id.Pace
Up to 120 calls a minute per automation, counted once the signature checks out. More gets
429.State
The automation must be On. Pausing it, or deleting it, makes the URL answer
404at once.
Rotating the secret
Choose New signing secret in the automation’s menu. The app confirms “Signing secret replaced — the old one keeps working for 24 hours”, so you can roll the new secret out to your sender without losing a single call.
Using the payload in steps
The posted JSON reaches every step as Trigger › Payload. Type {{ in any step field to pick a value, or write the path yourself: {{trigger.payload.plan}}. With Split array you can turn a list in the payload, such as order lines, into one row each.
Upsert record
Match on
{{trigger.payload.account_id}}so a repeat call updates the row instead of adding a second one.Create task
Plan “Onboard Northlight Coffee” in Launch plan when a new account arrives.
Send notification
Tell Maya Okafor that one of her accounts changed plan.
Branch
Send Scale customers down a different path than Lite ones.
Outgoing webhooks
A webhook endpoint is a URL on your server that Omninium signs every request to. Set one up, check the signature and answer fast.
Endpoints
- Add up to 20 endpoints per workspace in Settings › Integrations & API › Webhooks.
- An endpoint URL uses
httpsand a public domain name. No IP addresses, no user name or password in the URL, no#fragment. - The endpoint menu has Send test event, Pause and Resume, Copy signing secret and Delete endpoint. Deleting an endpoint deletes its delivery log too.
What every delivery carries
Content-Typeapplication/jsonWebhook-IdThe event id. Identical on every retry of that event, so you can ignore repeats.
Webhook-TimestampUnix seconds when this attempt was signed.
Webhook-Signaturev1=<hex>: HMAC-SHA256 of<timestamp>.<raw body>, keyed with the whole secret,whsec_prefix included. Accept the delivery if anyv1value matches.
Delivery and retries
Your server answers
2xxwithin ten secondsThe delivery succeeds.
Another status, a timeout or no connection
The delivery is marked failed. The test event is not retried.
A redirect
Not followed. Point the endpoint at the final URL.
The URL resolves to a private network
Blocked and not retried.
Today an endpoint receives one event: the signed test event webhook.ping, sent when you add the endpoint and each time you press Send test event. To send record changes to your server, use an automation’s HTTP request step. Click an endpoint to open Deliveries: each delivery with its status code and how long your server took, kept for 30 days.
Events you receive
Sent once when you add an endpoint (“A test ping is on its way.”) and again each time you press Send test event in the endpoint’s menu. Test events are never retried.
POST /hooks/omninium HTTP/1.1Host: ops.fernhill.exampleContent-Type: application/jsonWebhook-Id: 0199b6f2-4c1e-7a3d-9b8e-5f2a6c1d7e40Webhook-Timestamp: 1791278040Webhook-Signature: v1=89b2aeb155723d7d711db9aa6d441e3555d4e00094d394662efc58a3eb3623cc{"id":"0199b6f2-4c1e-7a3d-9b8e-5f2a6c1d7e40","type":"webhook.ping","createdAt":"2026-10-06T09:14:00.000Z","workspaceId":"wsp_06f9q2c8n4r7t1v5x3z0b6d8hk","data":{"webhookEndpointId":"whk_06fh4a1b2c3d4e5f6g7h8j9k0m"}}id- The event id, also sent as
Webhook-Id. It stays the same on every retry, so store it and ignore repeats. typewebhook.pingfor the test event.createdAt- When the event happened, in ISO 8601 UTC.
workspaceId- The workspace that sent it.
data.webhookEndpointId- Which of the workspace’s endpoints this was sent to.
Verifying a delivery
import { createHmac, timingSafeEqual } from "node:crypto";const TOLERANCE_SECONDS = 300;export function isFromOmninium(rawBody, headers, secret) { const timestamp = headers["webhook-timestamp"] ?? ""; const age = Math.abs(Date.now() / 1000 - Number(timestamp)); if (!/^\d{1,12}$/.test(timestamp) || age > TOLERANCE_SECONDS) return false; const expected = createHmac("sha256", secret) .update(`${timestamp}.${rawBody}`) .digest("hex"); return (headers["webhook-signature"] ?? "") .split(" ") .map((value) => value.replace(/^v1=/, "")) .some( (candidate) => candidate.length === expected.length && timingSafeEqual(Buffer.from(candidate), Buffer.from(expected)), );}Send changes to your systems
To make your systems react the moment a row changes, give an automation an HTTP request step. It works today, on every table.
This is how Fernhill tells its billing system about churn risk. The automation Flag churn risk to billing listens for Record updated on Accounts with the condition Status is Churn risk, and its only step is an HTTP request.
POST https://billing.fernhill.example/hooks/churn-riskContent-Type: application/jsonX-Fernhill-Source: omninium{ "account": "{{trigger.record.name}}", "status": "{{trigger.record.status}}", "mrr": "{{trigger.record.mrr}}", "owner": "{{trigger.record.owner}}", "record": "{{trigger.entryId}}"}Method
GET, POST, PUT, PATCH or DELETE. GET and DELETE send no body.
URL
An
httpsaddress, or a token that resolves to one. Private and cloud metadata addresses are blocked.Headers
Any you need, such as an
Authorizationheader for your API. Values can hold tokens.Body
Text or JSON with tokens inside. Type
{{to insert data from the trigger and earlier steps.Response
JSON or Text. Later steps read it as Body, with the status code as Status.
Triggers that start the call
- Record created, Record updated or Record deleted on any table, with up to 20 conditions that all have to match.
- Schedule: every hour, day, weekday, week or month, or a cron expression, in the time zone you choose.
- Webhook: pass a call on to another system after Omninium has stored what it needs.
Tip: Try it without calling anyone
A Test run simulates the HTTP request, record writes and notifications, so you can check the body against real rows first. Retry failed runs in the automation’s settings decides whether a failed call is tried again: never, once after a minute, or up to three times with growing pauses.
Errors
One JSON shape for every error, with codes you can rely on.
The error body
Every error is JSON with a stable error code to branch on and a message for people; context adds details and requestId identifies the request. Server faults always say “Something went wrong. Please try again.” and carry no context.
{ "error": "automation_webhook_idempotency_key_too_long", "message": "The idempotency key is too long", "context": { "maxLength": 200 }, "requestId": "9f987ba1-0ee2-4ac7-8642-f5d854566070"}Codes
- 400
bad_request
The body is not valid JSON, or not a JSON object.
- 400
automation_webhook_idempotency_key_too_long
Idempotency-Keyis longer than 200 characters. - 401
credential_missing
No
Authorizationheader, or an empty one. - 401
credential_invalid
The key is unknown, revoked or expired, or not sent as a Bearer token.
- 404
automation_webhook_not_found
Wrong automation id, automation not On, trigger not Webhook, or a signature that does not match.
- 413
automation_webhook_payload_too_large
The body is over 256 KB.
context.maxBytesgives the limit. - 429
automation_webhook_rate_limited
More than 120 calls a minute to one automation.
- 429
api_key_rate_limited
More than 600 requests a minute with one key.
context.retryAfterSecondssays when to try again.
Rate limits
Generous enough for real integrations, there to stop a runaway loop.
Calls to the webhook trigger
- Limit
- 120 a minute
- Counted per
- Automation
Requests with an API key
- Limit
- 600 a minute
- Counted per
- Key
Send test event and Resend failed
- Limit
- 10 a minute
- Counted per
- Workspace
Limits run over a rolling minute. There is no Retry-After header: an API key’s 429 carries context.retryAfterSeconds; for the webhook trigger, wait a little and send the same call again with the same Idempotency-Key.
Pagination & versioning
Short, because the surface is.
Pagination
Neither endpoint returns a list, so there is nothing to page through. The webhook trigger answers with one run and the identity endpoint with one key.
Versioning
- Paths carry no version number. There is one version of each endpoint, the one on this page.
- Signatures name their scheme:
v1=. Check the scheme as well as the value, and ignore values you do not recognize. - Ids are strings with a prefix, such as
aut_,run_,wsp_andkey_. Store them as they are and do not parse them. - Treat JSON objects as open: read the fields you need and ignore any you do not know.
Questions
The questions developers ask first, answered from what the product does today.
01Can I read my tables over the API?
No. An API key can only ask who it is through GET /api-key; no endpoint returns records, tasks or documents. To get rows out, export a table view, or let an automation send each row to your server with an HTTP request step.
02Can I write records from outside Omninium?
Yes, through an automation. Give it the Webhook trigger and a Create record, Update record or Upsert record step; whatever you POST arrives as Trigger › Payload. Upsert matches on an external id, so sending the same customer twice updates the row instead of adding a second one.
03Does a webhook call cost credits?
No. Receiving a call, record steps, tasks, notifications and HTTP requests cost nothing. Credits pay for assistant replies and the Invoke model step in automations, nothing else.
04Is there an SDK or an OpenAPI file?
No. The surface is two endpoints and one signing rule, which any HTTP client handles in a few lines. The curl, JavaScript and Python samples on this page are complete and use only standard libraries; use your language’s HMAC-SHA256 function and compare signatures in constant time.
05Who can create keys, endpoints and webhook automations?
Keys and webhook endpoints: people whose role includes Organize, move and delete content. Webhook automations and their signing secrets: people who can manage automations; nobody else sees the secret. Roles are set in Settings › Roles & permissions, so you decide who can connect outside systems.