REST API & Webhooks

Control every call with a few lines of code.

One REST request starts a call with a chain of actions. Change those actions while the call is live, and get signed webhooks for every event that happens next.
Per-workspace API domain
ApiKey for servers, JWT for clients
HMAC-SHA256 signed webhooks
Interactive API Playground

POST /api/v1/calls/make

make-call.ts β€” ts
import { Firetell } from '@firetell/firetell-node-sdk';
​
const firetell = new Firetell({
domain: 'yourcompany.firetell.app',
secretKey: process.env.FIRETELL_SECRET_KEY!,
});
​
const call = await firetell.calls.make({
from: { number: '+14155550100', name: 'Customer Support' },
to: { number: '+12125550123', name: 'John Doe' },
actions: [
{ action: 'connect_agent', params: { agent_id: 'agt_abc123', timeout: 30 } },
],
});
Call lifecycle

Start, steer and observe a call.

01POST /calls/make

Start a call with actions

Pass a published outbound call_flow_id, or define ordered actions: connect an agent, a team, a Voice AI agent, play audio or record.
02PUT /calls/:id/actions

Steer it while it is live

Replace the remaining actions of an active call based on what your backend decides in real time.
03Webhooks

Observe every event

Receive call.created, call.answered, call.ended, recordings and transcripts on your own endpoint.
Authentication

Two schemes, one Authorization header.

Keep API keys on your servers. Sign short-lived JWTs with your key secret for browsers and mobile apps.
MethodHeaderUse case
API KeyAuthorization: ApiKey sk-...Server-to-server calls from your backend (Workspace API)
JWT TokenAuthorization: Bearer <jwt>Client-side calls from web or mobile apps (Agent API & SDKs)
Webhook event catalog

Every important moment, delivered to your endpoint.

EventTriggered when
call.createdA new inbound or outbound call is created
call.answeredThe call is answered
call.endedThe call hangs up or fails, with duration and hangup cause
call.recording.readyThe recording file is processed and ready to download
call.transcription.completedThe full transcript and extracted entities are compiled
message.receivedAn inbound SMS/MMS arrives on one of your numbers
agent.stateAn agent changes presence or availability
workspace.credit.updatedYour workspace credit balance changes

Verify X-Webhook-Signature

Every webhook is signed with HMAC-SHA256 using your webhook secret (prefixed with whse-). Reject anything that does not match.
webhook.ts β€” ts
import express from 'express';
import { constructWebhookEvent } from '@firetell/firetell-node-sdk';
​
const app = express();
​
app.post('/webhooks/firetell', express.raw({ type: 'application/json' }), (req, res) => {
const signature = req.header('x-webhook-signature') ?? '';
​
try {
const event = constructWebhookEvent(
req.body,
signature,
process.env.FIRETELL_WEBHOOK_SECRET!,
);
// handle event.event: 'call.ended', 'call.recording.ready', ...
console.log('Verified event:', event.event, event.data);
res.sendStatus(200);
} catch {
res.status(400).send('Invalid signature');
}
});
SDKs & tools

Pick the fastest path for your stack.

Node.js Server SDK

@firetell/firetell-node-sdk for TypeScript & Node.js 18+: calls, SMS/MMS, Voice AI, RAG docs & webhook verification.
Quickstart

JavaScript Client SDK

@firetell/firetell-client-sdk for browser softphones: SSE events, WebRTC calls and supervision.
Quickstart

Flutter SDK

firetell_flutter_sdk for cross-platform mobile apps with VoIP push for incoming calls.
Installation

n8n Integration

@firetell/n8n-nodes-firetell community node for calls, SMS, Voice AI, and HMAC webhook triggers.
View integration

API Playground

Try every Workspace API endpoint from your browser with your own API key.
Open Playground

LLM-ready docs

llms.txt and llms-full.txt make the whole reference easy to use with AI coding assistants.
View llms.txt
FAQ

Frequently asked questions

Each workspace has its own API domain: https://{workspace_id}.firetell.app/api/v1. You can find your workspace ID in the Console under Workspace Settings.
No. API keys grant full access to your workspace. For client-side code, sign a short-lived JWT on your backend with your API key secret and use the Bearer scheme.
Yes. Endpoints are rate-limited per minute with tiers for standard, SMS and sensitive endpoints. Enterprise customers can request custom limits.
Register your endpoint with POST /webhooks and use POST /webhooks/:id/test-event to send a sample event signed with your secret.

Your first API call is five minutes away.

Create a workspace, generate an API key and get $3 free credit to start calling.