PBX Search
Number → flow · search + orchestra · right-to-erasure ready
Voice / call-ops control plane: derived index + query + orchestra. Managed number → flow SaaS.
Calls · Call graph · Status · In-call partial index · Live whisper · Erasure + audit · Dictionary add · Outbound webhooks · Facts · Persons · Open promises
- No account needed to try any endpoint on this page.
- Deterministic endpoints answer from cache in single-digit milliseconds.
- Every response carries a receipt: credits charged, cache status, duration.
Free try on this page → when you need a key, Proceed to pay · API access.
/v1/pbx/audio/chunk
{
"call_id": "call_msp_001",
"pbx_id": "pbx_otel_msp_demo",
"uri": "https://customer.example/rec/call_msp_001.wav",
"t_ms": 12000
}Press Run to try free — no key needed.Why this exists
Built for hostile input
A phone number arrives with spaces, a trunk zero and no country code; an IBAN arrives with one digit transposed. Generic validators answer yes or no and move on. These tell you what was wrong and what the input most likely meant.
Every rule carries its source
Checksums follow the published algorithms (IBAN mod-97, national BBAN structures, E.164 numbering plans). When an answer cannot be verified, the response says so instead of guessing — a structurally valid number is never presented as a registry match.
You only pay for work
Repeated inputs come from cache and cost zero credits. If a response ever fails its own schema, the call is refunded automatically.
Endpointsexpand any row to see the parameters and call it live
PBX Search28
/v1/pbx/audio/chunk
PBX Audio Chunk
1 credit
Notify an optional audio chunk / customer URI for a live or archived call (idle $0).
Prefer customer storage URI. Temsor keeps a pointer; STT only while a call is active.
Parameters
| call_id* | string | |
| pbx_id | string | |
| uri | string | Customer-side media URI (preferred). |
| bytes_b64 | string | Optional small demo chunk; production prefers URI. |
| t_ms | integer |
/v1/pbx/audio/chunk
{
"call_id": "call_msp_001",
"pbx_id": "pbx_otel_msp_demo",
"uri": "https://customer.example/rec/call_msp_001.wav",
"t_ms": 12000
}Press Run to try free — no key needed.
/v1/pbx/calls
PBX Recent Calls
1 credit
List recent calls with transfer path crumbs — site + customer archive browser.
GET /v1/pbx/calls?limit=20. Scoped by x-temsor-pbx-key when set. Idle $0. No DID sales.
Parameters
| limit | integer | Max recent calls to return (1–100). default 20 |
/v1/pbx/calls
{
"limit": 20
}Press Run to try free — no key needed.
/v1/pbx/calls/get
PBX Get Call
1 credit
Get one call by id with transfer graph — customer detail drawer.
GET /v1/pbx/calls/get?call_id=…. Scoped by x-temsor-pbx-key. found=false if missing. Idle $0.
Parameters
| call_id* | string | Call id (e.g. call_msp_002). |
/v1/pbx/calls/get
{
"call_id": "call_msp_002"
}Press Run to try free — no key needed.
/v1/pbx/calls/graph
Call Handoff Graph
1 credit
Handoff graph + transfer edges — who→whom→where the promise stuck (moat). Idle $0.
GET /v1/pbx/calls/graph?call_id=…&stuck_at=310. Returns path, path_tr (plain-language summary), edges, and raw transfers. Compounding asset for search/orchestration: handoff edges, not a bot transcript. Idle $0. No DID sales / no live PSTN.
Parameters
| call_id* | string | Call id whose transfer graph to return. |
| stuck_at | string | Optional override for where the promise stuck (extension). |
/v1/pbx/calls/graph
{
"call_id": "call_msp_002"
}Press Run to try free — no key needed.
/v1/pbx/dictionary
PBX Domain Dictionary
1 credit
Managed SaaS domain dictionary (E4) — example packs thicken per pilot (tenant-scoped aliases). Boosts search + Fact extract. No invented premiums.
GET /v1/pbx/dictionary?domain=hotel|pbx_provider|insurance|finance|energy|automotive|all (legacy otel|santral_firmasi|sigorta|finans|enerji|otomotiv|msp still accepted). Idle $0, no LLM. Synonyms feed archive search (match crumbs) and transcript Fact extraction. Write path: POST /v1/pbx/dictionary/add.
Parameters
| domain | "hotel" | "pbx_provider" | "insurance" | "finance" | "energy" | "automotive" | "otel" | "santral_firmasi" | "sigorta" | "finans" | "enerji" | "otomotiv" | "msp" | "all" | Domain slice: hotel | pbx_provider | insurance | finance | energy | automotive | all (legacy keys + msp accepted) default "all" |
/v1/pbx/dictionary
{
"domain": "hotel"
}Press Run to try free — no key needed.
/v1/pbx/dictionary/add
PBX Dictionary Add Alias
1 credit
Add a synonym/alias (tenant-scoped or global demo) — E4 compounding thickens search boost + Fact extract. ≤60/hour/key → 429. Idle $0. No invented premiums.
POST /v1/pbx/dictionary/add {term, alias, domain:hotel|pbx_provider|insurance|finance|energy|automotive, scope?:pbx|global}. Managed SaaS compounding (E4): tenant-scoped aliases thicken search + fact extract. No invented premiums/prices. Idle $0, no LLM. Legacy keys (otel, santral_firmasi, msp…) still accepted.
Parameters
| term* | string | Canonical term (e.g. AC, tariff). Plain Turkish preferred. |
| alias* | string | Synonym / alias to add (e.g. cooling, line package). |
| domain | "hotel" | "pbx_provider" | "insurance" | "finance" | "energy" | "automotive" | "otel" | "santral_firmasi" | "sigorta" | "finans" | "enerji" | "otomotiv" | "msp" | Domain: hotel | pbx_provider | insurance | finance | energy | automotive (legacy keys + msp accepted). default "hotel" |
| kind | "imei" | "tarife" | "oda" | "oda_tipi" | "klima" | "check_out" | "iade" | "sku" | "police" | "hasar" | "yenileme" | "abone" | "kesinti" | "fatura" | "kart" | "iban" | "sube" | "other" | Fact kind; inferred from seed term when omitted. |
| boost | number | Search boost weight (default 2). |
| scope | "pbx" | "global" | pbx = scoped to x-temsor-pbx-key; global = demo-wide. Default: pbx if registered key, else global. |
| hint_tr | string | |
| hint_en | string |
/v1/pbx/dictionary/add
{
"term": "klima",
"alias": "cooling",
"domain": "hotel",
"scope": "global"
}Press Run to try free — no key needed.
/v1/pbx/events
Call Events Ingest
1 credit
Ingest call-ops events → open promises + transfer crumbs for search/orchestration. Optional HMAC. Idle $0 when no calls.
Demo stores events in memory/file. Auth: omit, x-temsor-pbx-key, or x-temsor-signature = hex(HMAC-SHA256(api_key, body)); bad signature rejected when header present. BridgeEnter → transfer/handoff crumbs. Utterance/text → open Promise docs via heuristic (no LLM). Idle $0. Body ≤256 KiB → 429. Advanced: ARI/Stasis batch shape when customer runs own PBX — not Asterisk-first product copy.
Parameters
| pbx_id | string | PBX id that emitted the ARI batch. |
| events* | object[] | ARI / Stasis event batch. Utterance/text fields trigger heuristic promise extract. |
/v1/pbx/events
{
"pbx_id": "pbx_otel_msp_demo",
"events": [
{
"type": "StasisStart",
"channel": "PJSIP/101-0001",
"application": "temsor"
}
]
}Press Run to try free — no key needed.
/v1/pbx/facts
PBX Facts List
1 credit
List extracted facts (IMEI, room, tariff…) from the durable index — filter by call_id, kind, domain, q.
GET /v1/pbx/facts?call_id=&kind=&domain=hotel|pbx_provider|insurance|finance|energy|automotive|all&q=&limit=50. Facts come from transcript extract + domain dictionary; persist in pbx-index. Scoped by x-temsor-pbx-key. Idle $0. No DID sales. Right-to-erasure ready. Advanced: own PBX/Asterisk stays on customer.
Parameters
| call_id | string | Filter by call id (e.g. call_msp_001). |
| kind | string | Fact kind key (imei, oda, tarife, ...) or all. |
| domain | "hotel" | "pbx_provider" | "insurance" | "finance" | "energy" | "automotive" | "otel" | "santral_firmasi" | "sigorta" | "finans" | "enerji" | "otomotiv" | "msp" | "all" | Domain slice: hotel | pbx_provider | insurance | finance | energy | automotive | all (legacy keys + msp accepted). |
| q | string | Free-text filter over kind + value + call_id. |
| limit | integer | Max facts to return (1–200). default 50 |
/v1/pbx/facts
{
"limit": 20
}Press Run to try free — no key needed.
/v1/pbx/facts/get
PBX Get Fact
1 credit
Get one extracted fact by id — detail drawer for site + customer.
GET /v1/pbx/facts/get?id=…. Scoped by x-temsor-pbx-key. found=false if missing. Idle $0. No DID sales.
Parameters
| id* | string | Fact id (e.g. fact_001). |
/v1/pbx/facts/get
{
"id": "fact_001"
}Press Run to try free — no key needed.
/v1/pbx/index/partial
PBX In-Call Partial Index Upsert
1 credit
Upsert mid-call partial index (utterances → fact/promise hints). Path to ≤400ms whisper; ≤600/hour/key → 429; idle $0.
POST /v1/pbx/index/partial {call_id, text?, speaker?, t_ms?, is_final?, live?, end_call?, promote?}. Streams partial STT queue into accumulating Fact/Promise hints while the call is live. No Temsor STT/LLM — customer posts text. Managed SaaS in-call index; no DID sales. Own PBX optional footnote. Idle $0.
Parameters
| call_id* | string | Live call id to upsert partial index for. |
| text | string | Partial utterance / snippet (customer STT or demo). Empty = metadata-only. |
| speaker | string | null | |
| t_ms | integer | null | |
| is_final | boolean | Finalized utterance span (vs interim). |
| live | boolean | Default true while call is live. |
| end_call | boolean | Mark live=false; idle $0 for this call. |
| promote | boolean | Promote heuristic hints into durable Promise/Fact docs. |
| pbx_id | string |
/v1/pbx/index/partial
{
"call_id": "call_live_demo",
"text": "Agent: I promise we will fix the AC in room 412 tomorrow.",
"speaker": "agent",
"t_ms": 12000,
"is_final": true,
"live": true
}Press Run to try free — no key needed.
/v1/pbx/index/partial/get
PBX In-Call Partial Index Read
1 credit
GET mid-call partial index — accumulating facts/promises/snippets while live.
GET /v1/pbx/index/partial/get?call_id=…. Returns live partial state for whisper ≤400ms path. Idle $0 when no live call. Managed SaaS in-call index; no DID sales. Own PBX optional footnote.
Parameters
| call_id* | string | Call id whose live partial index to read. |
/v1/pbx/index/partial/get
{
"call_id": "call_live_demo"
}Press Run to try free — no key needed.
/v1/pbx/ingest/transcript
PBX Ingest Transcript
1 credit
Heuristic promise extractor from transcript text — creates open Promise docs (idle $0, no LLM).
Detects promise-like sentences (we will, I promise, refund, cancel, call you back, tomorrow…). Optional persist_promises=false for extract without writing. Also wired via utterance text on POST /v1/pbx/events.
Parameters
| transcript* | string | TR utterance / transcript text to scan for promises. |
| call_id | string | |
| pbx_id | string | |
| who | string | |
| ext | string | |
| persist_promises | boolean | When false, extract only (dry-run, no write). When true, create Promise docs status=open. default true |
/v1/pbx/ingest/transcript
{
"transcript": "Agent Ashley: I promise the AC in room 412 will be fixed tomorrow by 10 AM.",
"persist_promises": true
}Press Run to try free — no key needed.
/v1/pbx/persons
PBX Persons List
1 credit
Light CRM from call graph / facts — caller phones+names and extension identities seen on transfers.
GET /v1/pbx/persons?call_id=&kind=caller|extension|all&q=&limit=50. Durable Person rows from pbx-index plus derived extension identities (ext_NNN) from Transfer edges / promise.ext. Scoped by x-temsor-pbx-key. Idle $0. No DID sales. Right-to-erasure ready. Advanced: own PBX/Asterisk stays on customer.
Parameters
| call_id | string | Filter persons seen on this call id. |
| kind | "caller" | "extension" | "all" | caller = durable Person; extension = derived from call-graph hops; all = both. |
| q | string | Free-text over names, phones, org, extensions, facts. |
| include_extensions | boolean | Include derived extension identities (default true). |
| limit | integer | Max persons to return (1–200). default 50 |
/v1/pbx/persons
{
"limit": 20
}Press Run to try free — no key needed.
/v1/pbx/persons/get
PBX Get Person
1 credit
Get one light-CRM identity by id — caller Person or derived extension.
GET /v1/pbx/persons/get?id=per_001|ext_101. Scoped by x-temsor-pbx-key. found=false if missing. Idle $0. No DID sales.
Parameters
| id* | string | Person id (e.g. per_001) or extension id (e.g. ext_101). |
/v1/pbx/persons/get
{
"id": "per_001"
}Press Run to try free — no key needed.
/v1/pbx/promises
Open Call Promises
1 credit
List open/broken call promises for agent handoff tracking — hotel / MSP sales demo. Idle $0.
GET /v1/pbx/promises?status=open returns open/unclosed promises with transfer/handoff path for orchestration. Scoped by x-temsor-pbx-key when set. Idle $0. No live PSTN.
Parameters
| status | "open" | "kept" | "broken" | "unknown" | "all" | "closed" | Promise status filter; closed = kept|broken. Sales demo uses open. default "open" |
/v1/pbx/promises
{
"status": "open"
}Press Run to try free — no key needed.
/v1/pbx/promises/act
Promise → Orchestra Closed Loop
1 credit
E1 moat: who→whom→promise → orchestra handoff intent (whisper/transfer/hold). Idle $0. No live PSTN. Own PBX = advanced footnote.
POST /v1/pbx/promises/act {promise_id, action?}. Loads the promise + call graph, suggests whisper/transfer/hold, records orchestra intent with source_type=promise for agent handoff. Managed SaaS runtime. ≤120/hour/key (shares orchestra bucket). Idle $0. carrier/pstn always false. No cross-tenant graph merge. Advanced: not Asterisk-first glue; own PBX optional footnote.
Parameters
| promise_id* | string | Open (or any) promise id — closed loop reads call graph then records orchestra intent. |
| action | "whisper" | "hold" | "transfer" | "pci_stop" | "snoop" | Default whisper. transfer uses graph stuck_at / promise.ext. |
| agent_ext | string | |
| skip_forward | boolean | Default true — record intent only. |
| stasis_webhook_url | string | |
| pbx_id | string |
/v1/pbx/promises/act
{
"promise_id": "prm_001",
"action": "whisper"
}Press Run to try free — no key needed.
/v1/pbx/promises/close
PBX Close Promise
1 credit
Mark an open promise kept or broken with an optional privacy-safe note — makes the sales demo writable, not read-only. ≤60/hour/key → 429.
POST /v1/pbx/promises/close {promise_id, status:kept|broken, note?}. Phones/emails in note are scrubbed. Scoped by x-temsor-pbx-key when set. Idle $0 — no LLM/PSTN.
Parameters
| promise_id* | string | Promise id (prm_*). Sales demo marks open promises kept|broken. |
| status* | "kept" | "broken" | Close outcome: kept (honoured) or broken (not kept). |
| note | string | Optional short operator note. Phones/emails stripped (privacy-safe). |
/v1/pbx/promises/close
{
"promise_id": "prm_001",
"status": "kept",
"note": "Technician visited, AC fixed"
}Press Run to try free — no key needed.
/v1/pbx/promises/export
PBX Promises Export
1 credit
Export open/broken promises as CSV or JSON — hotel / PBX-provider unclosed-promise sales list.
GET /v1/pbx/promises/export?status=open|closed&format=csv|json. CSV/JSON include closed_at, close_note, path crumbs. Scoped by x-temsor-pbx-key when set. Idle $0.
Parameters
| status | "open" | "kept" | "broken" | "unknown" | "all" | "closed" | Promise status filter; closed = kept|broken. Sales demo uses open. default "open" |
| format | "csv" | "json" | Export format. default "csv" |
/v1/pbx/promises/export
{
"status": "open",
"format": "csv"
}Press Run to try free — no key needed.
/v1/pbx/promises/reopen
PBX Reopen Promise
1 credit
Undo a kept/broken close — restore an open promise so the sales demo can reverse a mis-click. ≤60/hour/key → 429.
POST /v1/pbx/promises/reopen {promise_id}. Only kept|broken → open; clears closed_at/close_note. Scoped by x-temsor-pbx-key when set. Idle $0.
Parameters
| promise_id* | string | Promise id (prm_*). Undo a kept|broken close — restore open. |
/v1/pbx/promises/reopen
{
"promise_id": "prm_005"
}Press Run to try free — no key needed.
/v1/pbx/redact
PBX Redact
1 credit
Privacy-first erasure (default-on SaaS): clear derived index by id/phone; durable audit who/what/when + tenant scope. ≤30/hour/key → 429. Managed pointer only — not a legal deletion SLA.
E.3 Privacy-first redaction for managed SaaS. mode=anonymize|delete. Lookup by target_id or phone. Clears Person/Promise/Fact/partial index + Temsor audio pointers in your tenant only (no cross-tenant). Durable audit. Raw media stays on your side. Not a legal deletion SLA. List: GET /v1/pbx/redact/audit.
Parameters
| target_type | "promise" | "call" | "person" | "fact" | "utterance" | Index document type. Optional when `phone` is set. |
| target_id | string | Document id (prm_*, per_*, call_*, fact_*). |
| phone | string | Caller phone — finds Person phones (+ linked derived index). |
| reason | string | Personal-data erasure reason. |
| mode | "anonymize" | "delete" | anonymize (default) scrubs fields; delete removes docs. |
| who | string | Actor label for durable audit (defaults to pbx scope / demo-operator). |
/v1/pbx/redact
{
"target_type": "promise",
"target_id": "prm_001",
"reason": "Erasure request",
"mode": "anonymize"
}Press Run to try free — no key needed.
/v1/pbx/redact/audit
PBX Redact Audit
1 credit
List recent erasure actions — who/what/when + tenant scope. Managed SaaS derived-index audit; not a legal deletion SLA.
GET /v1/pbx/redact/audit?limit=20. Durable audit from POST /v1/pbx/redact (E.3). Tenant-scoped. Derived index cleared; raw media not deleted by Temsor. Number→flow managed SaaS; own PBX optional. No DID sales.
Parameters
| limit | integer | Max recent forget actions to return (default 20). |
/v1/pbx/redact/audit
{
"limit": 20
}Press Run to try free — no key needed.
/v1/pbx/register
PBX Register
1 credit
Register a pilot PBX; returns pbx_id + API key once (hashed at rest). ≤5/hour/IP → 429. Idle $0.
Control-plane register. API key shown once; stored hashed at rest. Send x-temsor-pbx-key to scope GET /v1/pbx/promises to this pbx_id. No speech recognition while idle.
Parameters
| pbx_id | string | Pilot PBX id; auto-minted if omitted. |
| label | string | Human label, e.g. hotel or PBX/IT provider site. |
| ari_webhook_secret | string | ARI webhook signing secret (stored as hint only). |
| name | string | Pilot contact name (waitlist / register). |
| string | Pilot contact email. | |
| webhook_url | string | Optional outbound webhook URL — Temsor POSTs promise/fact/orchestra/redact events. |
| webhook_secret | string | Optional HMAC secret for outbound webhook signatures (x-temsor-signature). |
| webhook_events | string[] | string | Event list or comma string: promise.opened|closed, fact.extracted, orchestra.act, redact, or *. |
/v1/pbx/register
{
"pbx_id": "pbx_otel_msp_demo",
"label": "Demo hotel + phone system provider"
}Press Run to try free — no key needed.
/v1/pbx/search
Voice Archive Search
1 credit
Agent archive search over call promises and facts — voice-Google for call-ops, not a receptionist bot. Idle $0.
Demo index + domain dictionary v0. Filters: status, date, ext, competitor, stuck_after (transfer/handoff hop). Returns call-graph path + transfer edges for orchestration. Idle $0. No live PSTN.
Parameters
| q | string | Full-text query over promises, facts, and call summaries. default "" |
| status | "open" | "kept" | "broken" | "unknown" | |
| ext | string | |
| competitor | string | |
| date_from | string | ISO date/time lower bound (promise.when_iso / call.started_at). |
| date_to | string | ISO date/time upper bound. |
| stuck_after | string | Filter: promise stuck after transfer to this extension (to_ext hop). |
/v1/pbx/search
{
"q": "klima",
"status": "open"
}Press Run to try free — no key needed.
/v1/pbx/status
PBX Status
1 credit
Control-plane status — promise/orchestra/search counts + idle $0. No DID sales.
GET /v1/pbx/status. Scoped by x-temsor-pbx-key when set. Derived index on Temsor for agent search/orchestration. Idle $0. Advanced: own PBX/Asterisk stays on customer.
Parameters
/v1/pbx/status
{}Press Run to try free — no key needed.
/v1/pbx/webhooks
PBX Outbound Webhooks
1 credit
Register or list outbound webhooks — customer URL receives promise/fact/orchestra/redact events (HMAC if secret). POST write ≤30/hour/key → 429.
POST /v1/pbx/webhooks {url, secret?, events?, ping?} registers. GET lists. ping:true sends a test delivery. Events: promise.opened, promise.closed, fact.extracted, orchestra.act, redact. Signed with x-temsor-signature when secret set. Idle $0. No DID sales. Erasure-aware. Advanced: own PBX/Asterisk stays on customer.
Parameters
| url | string | Outbound webhook URL (http/https). Present → register; omit on GET → list. |
| secret | string | Optional HMAC-SHA256 secret → x-temsor-signature: sha256=<hex>. |
| events | string[] | string | Events: promise.opened|closed, fact.extracted, orchestra.act, redact, or *. |
| ping | boolean | If true with url → register then ping; if true without url → ping existing. |
| webhook_id | string | For ping: target webhook id. |
| limit | integer | List limit (default 50). |
/v1/pbx/webhooks
{
"url": "https://example.com/temsor-hook",
"secret": "whsec_demo",
"events": [
"promise.closed",
"fact.extracted",
"orchestra.act",
"redact"
],
"ping": true
}Press Run to try free — no key needed.
/v1/pbx/webhooks/deliveries
PBX Webhook Deliveries
1 credit
List last N outbound webhook deliveries (stub or live) — promise/fact/orchestra/redact/ping.
GET /v1/pbx/webhooks/deliveries?limit=20&webhook_id=. Durable log of Temsor→customer POSTs. HMAC when secret set. Idle $0. No DID sales. Erasure-aware. Advanced: own PBX/Asterisk stays on customer.
Parameters
| webhook_id | string | Filter by webhook id. |
| limit | integer | Max deliveries (default 20). |
/v1/pbx/webhooks/deliveries
{
"limit": 20
}Press Run to try free — no key needed.
/v1/pbx/whisper/status
PBX Whisper RTP Status
deterministic
0 credits
Capability: mode=stub|ready from TEMSOR_RTP_*. No live RTP on forge; idle $0.
GET /v1/pbx/whisper/status. Reports MediaBridge config presence (TEMSOR_RTP_PATH). mode=ready means path env set — not that Asterisk RTP is flowing. live_rtp/listening always false on forge (R2–R3 IVR sidecar; R4 lab E2E harness). No ≤400ms production claim. TEMSOR_RTP_LAB=1 → optional lab_latency_ms on suggest. No DID sales.
Parameters
/v1/pbx/whisper/status
{}Press Run to try free — no key needed.
/v1/pbx/whisper/suggest
PBX Live Whisper Suggest
1 credit
Live agent handoff cards (≤3): open promises/facts from in-call index. Idle $0. Lab: TEMSOR_RTP_LAB=1 → lab_latency_ms.
POST /v1/pbx/whisper/suggest {call_id, partial_text}. Returns open promises and facts as whisper cards for agent handoff. Prefers in-call partial index when present. Mock latency_ms under 400ms (compat stub). Idle $0. No Telnyx/DID/live PSTN. Advanced: optional lab_latency_ms when TEMSOR_RTP_LAB=1 (measured; not prod SLA).
Parameters
| call_id* | string | Active call id for agent UI context. |
| partial_text | string | Partial transcript / utterance text (no live speech recognition). default "" |
/v1/pbx/whisper/suggest
{
"call_id": "call_msp_001",
"partial_text": "AC tomorrow"
}Press Run to try free — no key needed.Pricingone key covers every endpoint
Free try on this page → when you need a key, Proceed to pay · API access.
Credits are consumed per call and cache hits are free. Requests without a key run on a narrow per-IP demo quota so you can evaluate before signing up.
No monthly fee: sign in, add prepaid credits ($10, $25 or $50) and use the same key across every endpoint. You pay $0 when idle.
Want to finish the integration before paying?
Use it from an AI assistantthe same catalogue, exposed as MCP tools
Every endpoint is also published over the Model Context Protocol — business-data and voice/call-ops agent tooling (call archive search · promises · redaction · whisper) on one surface. Claude, ChatGPT or your own agent can call them directly: same schemas, same metering, when quiet, no glue code.
Currently 43 tools. New endpoints appear automatically; nothing to update on your side.
claude_desktop_config.json
{
"mcpServers": {
"temsor": {
"url": "https://api.temsor.com/mcp",
"headers": { "x-api-key": "fk_live_…" }
}
}
}
Quickstart
Official client: npm install temsor-api · npmjs.com/package/temsor-api
Node.js
import Client from "temsor-api";
const api = new Client({ apiKey: KEY });
const r = await api.pbxAudioChunk({"call_id":"call_msp_001","pbx_id":"pbx_otel_msp_demo","uri":"https://customer.example/rec/call_msp_001.wav","t_ms":12000});
console.log(r, r.$meta);cURL
curl -s https://api.temsor.com/v1/pbx/audio/chunk \
-H "content-type: application/json" \
-H "x-api-key: fk_live_…" \
-d '{"call_id":"call_msp_001","pbx_id":"pbx_otel_msp_demo","uri":"https://customer.example/rec/call_msp_001.wav","t_ms":12000}'JavaScript
const res = await fetch("https://api.temsor.com/v1/pbx/audio/chunk", {
method: "POST",
headers: { "content-type": "application/json", "x-api-key": KEY },
body: JSON.stringify({"call_id":"call_msp_001","pbx_id":"pbx_otel_msp_demo","uri":"https://customer.example/rec/call_msp_001.wav","t_ms":12000})
});
const { data } = await res.json();Python
import httpx
r = httpx.post("https://api.temsor.com/v1/pbx/audio/chunk",
headers={"x-api-key": KEY},
json={"call_id":"call_msp_001","pbx_id":"pbx_otel_msp_demo","uri":"https://customer.example/rec/call_msp_001.wav","t_ms":12000})
data = r.json()["data"]