Skip to content

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).

You want to…Use
Call your system when a record changes or a workflow movesThe Call API action
Run code you wrote, with the platform’s dataThe Execute Function action — see Functions
Feed Zapier Zaps from platform eventsNotify Zapier
Let a Zap or another tool make something happen in the platformZapier actions, or the HTTP API with a token
Keep a screen liveReal-time
Check or rewrite incoming requests before they are handledRequest interceptors

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:

ActionWhat it does
Call APISends 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 ZapierPosts 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.

  • Authenticate the call yourself. The platform does not sign outbound requests. Ask the builder to send a secret you issue — for example in an Authorization or X-Api-Key header — 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.8 the whole exchange must finish within 30 seconds by default, and anything other than a 2xx is 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.10 a 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 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" }
}

A Zapier app subscribes with REST hooks under /api/integrations:

CallPurposeBody
POST /api/integrations/v1/zapier/trigger/subscribeSubscribe a hook{ hookUrl, zapName, triggerType, entity, entry? }
GET /api/integrations/v1/zapier/trigger/subscriptionsList subscriptions—
DELETE /api/integrations/v1/zapier/trigger/unsubscribe/{subscription_id}Unsubscribe—
GET /api/integrations/v1/zapier/trigger/perform-listA 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):

Terminal window
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:

ValueZapier event
0Google spreadsheet created
1Google spreadsheet row added
2PDF file created
3Google Calendar event created
4Gmail email received
5Google 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.

  • 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.normalizedName and trigger.eventType.
  • Subscriptions are global. Listing returns every subscription in the tenant.
  • The sample data is fixed. perform-list returns one synthetic record, not live data.
  • There is no inbound “catch hook”. PATCH /api/integrations/v1/zapier/webhook/catch accepts a request and does nothing. Use the action call above instead.

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.

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.

typeDestination
0A fixed URL
1A data view
2A page
3A 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.

  • 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