Webhooks & integrations
Section titled “Webhooks & integrations”This page is for developers who connect OSOS to other systems through events: calling your system when something happens in a tenant, connecting Zapier, n8n or similar tools, and letting those tools trigger automations in the platform.
Example: when a purchase request is approved, notify the finance system. A builder adds a reaction on the Purchase Requests entity that runs on the approval and uses the Call API action to post the amount and the requester to your endpoint. Your job as the integrator is the receiving endpoint and the contract.
Two related surfaces have their own pages: reading platform data from Grafana
(Grafana dashboards Since 1.6), and running your
own code inside a process (Functions).
Choose an approach
Section titled “Choose an approach”| You want to… | Use |
|---|---|
| Call your system when a record changes or a workflow moves | The Call API action |
| Run code you wrote, with the platform’s data | The Execute Function action — see Functions |
| Feed Zapier Zaps from platform events | Notify Zapier |
| Let a Zap or another tool make something happen in the platform | Zapier actions, or the HTTP API with a token |
| Keep a screen live | Real-time |
| Check or rewrite incoming requests before they are handled | Request interceptors |
Call your system when something happens
Section titled “Call your system when something happens”Outbound calls are reaction actions. There is no separate webhook-subscription screen: a builder adds a reaction to an entity, picks the event that triggers it, and adds one of these actions:
| Action | What it does |
|---|---|
| Call API | Sends an HTTP request — GET, POST, PATCH, PUT or DELETE — with the URL, headers and body the builder defines, filled with values from the record. A 2xx answer counts as success, and the response is kept in the run’s history. |
| Notify Zapier | Posts the record to the Zapier hooks that subscribed (see below). |
Setting up the reaction is a builder task — see Reactions & automation and the recipe Send a record to another system. What you agree with the builder is the contract: method, URL, headers, body fields and what your endpoint answers.
Design your receiving endpoint
Section titled “Design your receiving endpoint”- Authenticate the call yourself. The platform does not sign outbound requests.
Ask the builder to send a secret you issue — for example in an
AuthorizationorX-Api-Keyheader — and check it on every request. - Keep the secret out of history. Each run’s request and response are stored in
the reaction’s history. Values sent under well-known credential headers
(
Authorization,Cookie,X-Api-Key), values read from sensitive fields, and any value the builder marks redact in history are stored as****Since 1.6— see Redacting secrets in reaction history. - Answer quickly with a
2xx.Since 1.8the whole exchange must finish within 30 seconds by default, and anything other than a2xxis recorded as a failure. - Expose a public address. Calls to private and reserved networks (internal IP
ranges, cloud metadata addresses) are refused, unless the platform operator has
allowed that destination. At most 5 redirects are followed, and request and
response bodies are capped at 10 MiB.
Since 1.10a few header names are reserved for the platform and refused when the reaction is saved (400 RESERVED_HEADER_NAME); see Call API: what the platform allows. - Make it idempotent. Treat each call as “this record changed” and re-read the record over the HTTP API if you need the authoritative state.
To see exactly what a call sent and received, a system administrator opens the run in
Reaction Logs Since 1.10 — see
the Reaction Logs API.
The Zapier connector
Section titled “The Zapier connector”The connector lets Zaps subscribe to platform events, receive the records when those events fire, and push actions back into the platform. It is long-standing — it predates the 1.2 line.
From the platform to Zapier {#outbound-flow-platform—zapier}
Section titled “From the platform to Zapier {#outbound-flow-platform—zapier}”When a reaction runs Notify Zapier, the platform posts this payload to every subscribed hook URL:
{ "dataEntity": { "id", "specificationVersion", "normalizedName", "name" }, "dataEntry": { "id", "value", "specificationVersion", "dataEntity", "updateInfo", "creationInfo" }, "trigger": { "eventType", "actionOptions", "criteria" }}Manage trigger subscriptions
Section titled “Manage trigger subscriptions”A Zapier app subscribes with REST hooks under /api/integrations:
| Call | Purpose | Body |
|---|---|---|
POST /api/integrations/v1/zapier/trigger/subscribe | Subscribe a hook | { hookUrl, zapName, triggerType, entity, entry? } |
GET /api/integrations/v1/zapier/trigger/subscriptions | List subscriptions | — |
DELETE /api/integrations/v1/zapier/trigger/unsubscribe/{subscription_id} | Unsubscribe | — |
GET /api/integrations/v1/zapier/trigger/perform-list | A sample payload for the Zap editor’s test step | — |
You can also post one payload to a hook directly with
POST /api/integrations/v1/zapier/webhook/invoke and the body
{ "url": "<hook-url>", "payload": { … } }. It always answers without a body, even
when the hook call fails.
From Zapier to the platform {#inbound-flow-zapier—platform}
Section titled “From Zapier to the platform {#inbound-flow-zapier—platform}”A Zap action makes something happen in the platform by posting an event. This call needs an OAuth access token (the tenant’s Zapier OAuth client uses the authorization code flow — see Authentication & OAuth):
curl -s -X POST https://acme.example.com/api/integrations/v1/zapier/action \ -H "Authorization: Bearer <access-token>" \ -H "Content-Type: application/json" \ -d '{"profile": {"entityId": "<entity-id>", "zapId": "<zap-id>", "event": {"eventType": 2, "output": {"fileUrl": "https://…"}}}}'The platform runs every active reaction on that entity whose trigger is a Zapier
event with the same Zap id. The zapId is the link between a Zap and its reactions.
output is free-form data from Zapier that the reactions can use. eventType is one
of:
| Value | Zapier event |
|---|---|
0 | Google spreadsheet created |
1 | Google spreadsheet row added |
2 | PDF file created |
3 | Google Calendar event created |
4 | Gmail email received |
5 | Google Calendar event cancelled |
The call answers success even if the event could not be passed on; check the reaction history to confirm the reactions ran.
Known limitations
Section titled “Known limitations”- Every subscription is notified. Notify Zapier posts to all stored
subscriptions, whatever entity or event they subscribed to. Filter on the Zapier
side, for example on
dataEntity.normalizedNameandtrigger.eventType. - Subscriptions are global. Listing returns every subscription in the tenant.
- The sample data is fixed.
perform-listreturns one synthetic record, not live data. - There is no inbound “catch hook”.
PATCH /api/integrations/v1/zapier/webhook/catchaccepts a request and does nothing. Use the action call above instead.
Request interceptors
Section titled “Request interceptors”A deployed function can run before an incoming request is handled, for requests matching a path and HTTP method. It can:
- rewrite the request — change its body, headers or query before it continues; or
- answer it directly — return its own status, body and headers, so the request never reaches the platform.
Interceptors run in priority order. Only the before-handling stage exists; there is no interceptor for responses. Interceptors fail open: if one fails or returns something unreadable, it is skipped and the request continues.
View redirections in your own client
Section titled “View redirections in your own client”A builder can make a view send different people to different places — for example,
visitors to a public page and staff to an internal view. When your own client opens a
view for an end user (GET /api/v2/views/end-user/{id}, and the equivalent for
pages), the answer includes redirection: null, or the destination
{ "type": <type>, "redirectTo": "<id or URL>" }. Your client must act on it; the
platform does not redirect by itself.
type | Destination |
|---|---|
0 | A fixed URL |
1 | A data view |
2 | A page |
3 | A report |
Rules are checked in priority order (lowest number first), and the first one that applies to the user wins: everyone, signed-in users, visitors, or named users and groups. A rule set to Restricted applies only to the users and groups it names. Redirection rules are long-standing.
Other integration surfaces
Section titled “Other integration surfaces”- Short links. The platform shortens links in the emails and SMS it sends, as
https://<host>/sh/<code>. It is not an API for clients. - QR codes. Views can show QR codes, generated by a platform function.
- Directory import. Users and groups can be imported from Active Directory (LDAP) and Microsoft Entra ID. These are batch jobs run by administrators — see Directory sync.
- Platform events. The richest surface is the platform’s own event and command vocabulary; see Data model & events.
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27