Skip to main content
Velor

Developers

Built for teams that ship, not for teams that wait on us.

Velor's developer surface is the system behind the marketing claims: a widget you install with a script tag, actions you write yourself in your own stack, and HMAC-signed contracts on every boundary. No services engagement required to go live.

Install

One snippet, any site.

Paste the snippet above </body>. The widget hydrates async, renders in the corner, and opens a chat session on first message. Works in Next.js, Rails, Shopify, WordPress, and static HTML with no build step.

Config values — brand colors, welcome state, widget position, and proactive triggers — live in the dashboard. No redeploy required when you change them.

HTML
<!-- paste before </body> -->
<script src="https://app.velorplatforms.com/widget.js" async></script>
<script>
window.Velor = window.Velor || { q: [] };
Velor.q.push(["init", { orgSlug: "your-org-slug" }]);
</script>
JavaScript
// After your login flow:
Velor.q.push(["identify", {
email: "jane@acme.com",
name: "Jane Rivera",
userId: "cust_01H...",
// Any extra FLAT key — string, number, boolean or null — is forwarded
// as visitor metadata (20 keys max, values truncated at 256 chars).
// A nested object is not: pass values flat, not under `metadata`.
plan: "pro",
segment: "enterprise",
signed_up_at: "2025-11-18T14:20:00Z",
}]);
Identify

Pass the logged-in visitor through.

Velor.identify() attaches the authenticated customer record to the conversation. From that point on, tool calls can scope to the visitor, the agent can greet them by name, and your team sees the full customer context on escalation.

Identity is held in memory for the life of the page — only the visitor id is persisted, in localStorage — so queue this on every page load once your login state is known. Every HMAC-signed action invocation then carries it in the _velor envelope — visitor_id, visitor_email and your flat fields under identify_metadata — so your endpoint scopes to the visitor without the agent having to pass an id as a parameter.

Only the user ID is signed. The envelope says whether it verified this turn — identity_verified, with the signed ID in verified_user_id — and visitor_email and identify_metadata are whatever the browser sent. An endpoint that reads or changes one customer’s account should refuse when identity_verified is false, or mark the action “Only for verified visitors” so Velor refuses it before calling you.

On sign-out call Velor.reset() (or queue ["reset"]). identify() merges into the current identity and cannot remove a field, so calling it again leaves the previous user’s userHash on every request and, on a shared device, resumes their conversation for the next person. reset() forgets the identity, the stored visitor id and the transcript; the next session starts a fresh anonymous visitor.

Custom actions

Write the actions, we orchestrate them.

An action is a JSON-schema description of something your API can do. You point it at your endpoint; Velor invokes it mid-conversation when the agent decides it's needed.

  • Signed actions carry an HMAC-SHA256 signature over the body with a per-action secret. Point one at an endpoint behind your own bearer or API-key auth instead, and Velor sends those credentials rather than a signature.
  • SSRF-protected at dispatch: IP literals, RFC1918 ranges, and link-local hosts rejected up front.
  • Destructive actions trigger the confirmation guardrail automatically.
  • Rate-limited at dispatch with auto-disable on error-rate spikes.
JSON
{
"name": "order.lookup",
"description": "Look up an order by number. Returns status, items, and shipping.",
"endpoint": "https://api.acme.com/velor/order-lookup",
"method": "POST",
"destructive": false,
"parameters": {
"type": "object",
"required": ["order_number"],
"properties": {
"order_number": {
"type": "string",
"description": "The customer-facing order number, with or without the # prefix."
}
}
},
"rate_limit": { "per_minute": 60 },
"timeout_ms": 2000
}
Voice calls API

Send an AI phone call in five lines.

Place outbound calls programmatically — one at a time or a whole campaign. Calls dial from your own Twilio number and are answered by your grounded agent, with the same guardrails and escalation as every other channel.

  • POST /api/v1/calls for one call; /calls/batch for up to 50.
  • Poll GET /api/v1/calls/:id for status, minutes, recording, and outcome.
  • React to voice.call_completed / voice.call_failed webhooks.
  • Scoped API keys (calls:write / calls:read); per-key rate limits.
Full API reference →
HTTP
# Send an AI phone call. The call dials from your
# configured number and is answered by your agent.
curl https://app.velorplatforms.com/api/v1/calls \
-H "Authorization: Bearer velor_live_<token>" \
-H "Content-Type: application/json" \
-d '{ "to": "+14155551234",
"consent": { "basis": "prior_express_consent", "reference": "crm:lead-8812" } }'
# consent is required: which consent the callee gave to an AI call, and
# where you keep the record. Numbers on your do-not-call list, calls outside
# 8am-9pm at the callee's location and numbers past your daily limit are
# refused (403 / 422 / 429).
# → 201 { "id": "…", "status": "initiated", "twilio_call_sid": "CA…" }
# Poll GET /api/v1/calls/:id, or subscribe to the
# voice.call_completed / voice.call_failed webhooks.
Signed contracts

HMAC-SHA256 on every boundary.

Outbound carries HMAC-SHA256 with a 5-minute replay window in two schemes: signed action invocations sign Velor-Signature-256 over an RFC3339 Velor-Timestamp, and event webhooks sign x-velor-signature over a unix-seconds x-velor-timestamp. Both sign `${timestamp}.${rawBody}`, and both will have a verifier in @velorplatforms/sdk once it is published; until then the snippet below verifies either direction in about fifteen lines. Inbound, the widget's userHash is an HMAC your server computes so a copied visitor id is not enough to read a thread.

Request envelope

HTTP
POST /velor/order-lookup HTTP/1.1
Host: api.acme.com
Content-Type: application/json
Velor-Timestamp: 2026-10-06T14:37:02Z
Velor-Signature-256: v1=7c9e6679f0a0c4b0c4b0c4b0c4b0c4b0c4b0c4b0c4b0c4b0c4b0c4b0c4b0c4b0
Velor-Action-Id: 3f1c8a90-5d2e-4a71-9b05-2c6f1e8d4a33
Velor-Invocation-Id: 9b2e4d71-0c88-4f16-a3de-71b5c902e4af
{
"order_number": "41208",
"_velor": {
"conversation_id": "7d41e0b2-6a3f-4c19-8e52-0b7a1d9f3c64",
"visitor_id": "cust_01H...",
"visitor_email": "jane@acme.com",
"identify_metadata": { "plan": "pro", "segment": "enterprise" },
"signed_at": "2026-10-06T14:37:02Z",
"identity_verified": true,
"verified_user_id": "jane@acme.com",
"idempotency_key": "velor_3f9a6c1e0b7d4a52c8e1f09b3d7a6e42b1c5d8f0a9e37264"
}
}

Verification (TypeScript)

TypeScript
// Node.js — verify a signed Velor ACTION invocation.
// For event webhooks (conversation.*, voice.*) use verifyEventWebhook from
// @velorplatforms/sdk instead: those carry x-velor-signature / x-velor-timestamp.
import { createHmac, timingSafeEqual } from "node:crypto";
export function verifyVelorAction(
rawBody: string,
headers: Record<string, string>,
secret: string,
): boolean {
// An unset secret is a misconfiguration, never "valid for any input".
if (!secret) return false;
const signature = headers["velor-signature-256"];
const timestamp = headers["velor-timestamp"];
if (!signature || !timestamp) return false;
// velor-timestamp is RFC3339 UTC, not unix seconds. Reject a delivery older
// than five minutes — that is the replay window — and one more than a minute
// in the future, which is clock drift rather than anything to accept.
const ms = Date.parse(timestamp);
if (Number.isNaN(ms)) return false;
const skew = (Date.now() - ms) / 1000;
if (skew > 300 || skew < -60) return false;
// The signed payload is the RFC3339 timestamp, a literal dot, then the raw
// body exactly as received — parse it only after this returns true.
const expected =
"v1=" +
createHmac("sha256", secret).update(`${timestamp}.${rawBody}`).digest("hex");
// timingSafeEqual throws when the buffers differ in length, so compare
// lengths first — otherwise a malformed signature crashes this handler with
// a RangeError and returns 500 where 401 belongs.
if (signature.length !== expected.length) return false;
return timingSafeEqual(Buffer.from(signature), Buffer.from(expected));
}
TypeScript SDK

One package. Everything wired.

@velorplatforms/sdk wraps the full v1 REST API in a typed client, ships webhook verification helpers, and exports widget identity types — all with zero dependencies and retry-on-5xx built in. It is not on npm yet. The examples below are the shape it will ship with; everything they do is available today over the REST API, and you can generate a typed client from the published OpenAPI document.

Install

HTTP
# @velorplatforms/sdk is not on npm yet — the REST API is live today.
# Generate a typed client from the published spec:
npx openapi-typescript https://app.velorplatforms.com/api/v1/openapi.json \
-o velor.d.ts
# Or call it directly:
curl https://app.velorplatforms.com/api/v1/conversations?status=open \
-H "Authorization: Bearer $VELOR_API_KEY"

Webhook verification

TypeScript
import { verifyWebhookSignature } from "@velorplatforms/sdk";
export async function POST(req: Request) {
const rawBody = await req.text();
const result = await verifyWebhookSignature(
rawBody,
Object.fromEntries(req.headers),
process.env.VELOR_SIGNING_SECRET!,
);
if (!result.valid) return Response.json({ error: result.reason }, { status: 401 });
// Signed-action body: your declared parameters at the top level, plus the
// _velor envelope. Use verifyEventWebhook for conversation.* / voice.*
// deliveries, whose body is { id, type, organization_id, created_at, data }.
const body = JSON.parse(rawBody);
// body.order_number, body._velor.visitor_email …
}

REST API client

TypeScript
import { VelorClient } from "@velorplatforms/sdk";
const velor = new VelorClient({ apiKey: process.env.VELOR_API_KEY! });
// List open conversations — the payload is under `data`
const { data } = await velor.conversations.list({ status: "open", limit: 50 });
// Resolve one and leave a note
await velor.conversations.update(data[0].id, { status: "resolved" });
await velor.conversations.notes.create(data[0].id, {
content: "Refund processed — order #41208.",
});
// Place an outbound AI call (consent record required)
const call = await velor.calls.create({
to: "+14155551234",
consent: { basis: "prior_express_consent", reference: "crm:lead-8812" },
});
console.log(call.id, call.status); // → "initiated"
Roadmap

What ships today. What ships next.

Honest split between what's live, what's in the next cycle, and what comes after. If you need something on the “later” list to land sooner, ask — we prioritize against real deals.

  • Now

    Widget API + identify()

    Live. One script tag, proactive triggers, and full visitor identification.

  • Now

    Custom actions (JSON schema)

    Live. HMAC-signed, SSRF-protected, rate-limited at dispatch.

  • Now

    Signed webhook envelope

    Live. Both outbound and inbound directions. 5-minute replay window.

  • Now

    Public REST API

    Live. Conversations, calls, knowledge, evals, analytics, and webhooks. Bearer token auth with per-key scopes.

  • Next

    TypeScript SDK

    Next — written and not yet published to npm. Typed REST client, webhook verification helpers, and widget identity types, zero dependencies. The v1 REST API and its OpenAPI document are live today.

  • Next

    Python SDK

    Next — same REST surface, published to PyPI. ETA tracked against demand.

  • Next

    Eval harness CLI

    Next — run the resolution-rate rubric from CI against a captured test dataset.

Start on a trial workspace. Move to production when the eval says so.

Every workspace starts with a 14-day free trial. Install the widget on a staging domain, point one custom action at your own staging endpoint (Actions → Test invoke and the sample-data sandbox endpoints let you check it before it goes live), and you're running the full stack.