OxinionDeveloper
oxinion.invoke

Call any URL when a moment happens.

Invoke lets you call any external HTTP endpoint as part of a pipeline. Update your CRM, score a user, trigger a Zapier zap, or call your own backend — all triggered automatically by geofence events.

Stable
Generally Available

Simple by design

Invoke lets you call any external HTTP endpoint as part of a pipeline. Update your CRM, score a user, trigger a Zapier zap, or call your own backend — all triggered automatically by geofence events.

  • 01Supports GET, POST, PUT, PATCH, DELETE with custom headers and body
  • 02Localhost and private IPs are blocked to prevent SSRF attacks
  • 03Response status and body are logged in action_logs for debugging
Full API reference
TypeScript
1import { createOxinion } from 'oxinion';
2
3const oxinion = createOxinion({ apiKey: process.env.OXINION_API_KEY! });
4
5// Call an external URL directly
6const result = await oxinion.invoke.call({
7 target: "https://yourcrm.com/api/log-visit",
8 method: "POST",
9 headers: { "x-api-key": "your-crm-key" },
10 body: { source: "oxinion", event: "store_entry" },
11});
12
13console.log(result.status); // HTTP status from the target
14console.log(result.response); // Parsed response body
15
16// Or add as a pipeline node for automatic triggering:
17await oxinion.nodes.create({
18 pipelineId: "pipe_abc",
19 type: "invoke",
20 orderIndex: 2,
21 config: {
22 target: "https://hooks.zapier.com/hooks/catch/abc/xyz",
23 method: "POST",
24 body: { event: "geofence_entry", source: "oxinion" },
25 },
26});

Geofence fires. Your API gets called.

Any HTTP endpoint. Any method. Automatic on every location trigger.