Dialmora

Dialmora developer portal — APIs and webhooks for your app

Build on Dialmora's open REST APIs: place calls, buy numbers, transcribe and summarise calls, and receive webhooks when things happen. Every route below is real — copy the examples and run them against the staging app in demo mode.

Demo mode: no provider account is live yet, so every example below answers with configured: false and places no real call, buys no real number, and spends no money. That is the honest demo answer — not an error in your code.

Build your first app

  1. Step 1 — Sign in

    Sign in with Google. No key is needed to try the APIs — demo mode answers every call with its real shape.

  2. Step 2 — Try an endpoint

    Run the voice-call example below. You will get the demo answer back — the same JSON shape the live API returns.

  3. Step 3 — Go live (Super Admin)

    When the provider accounts exist, the Super Admin enters the keys in the Admin panel — no redeploy. Live calls then need a signed-in session.

API categories

Voice API — calls and the softphone

Telnyx primary, Plivo secondary (chosen by the Super Admin switch). Numbers must be E.164, e.g. +12125550120.

POST /api/voice/tokenSoftphone login token. Body: { identity }. Demo: { configured: false, provider: "telnyx", identity, error: "Telnyx not configured — placeholder key. Softphone runs in demo mode." }

POST /api/voice/callPlace an outbound call. Body: { to, from, amd?, fallback?, workspaceId? }. amd is detect, detect_beep or disabled. Missing/invalid numbers → 400. Blocked number or zero credits → 403 from the service gate.

GET /api/voice/callCurrent voice provider and whether it is configured: { provider, configured, note }.

POST /api/voice/conferenceSupervisor Listen / Whisper / Barge. Body: { mode, agentId }. mode must be listen, whisper or barge (else 400). Live use needs a Super Admin, Admin or Supervisor session.

curl -X POST https://dialmora.appsnation.net/api/voice/call \
  -H "Content-Type: application/json" \
  -d '{"to": "+12125550120", "from": "+12125550101", "amd": "detect"}'

# Demo-mode response (no provider account live yet):
{"configured": false, "provider": "telnyx",
 "error": "Telnyx not configured (placeholder key)"}

Numbers API — search, buy, assign

Numbers follow the number-provider switch (Telnyx / Plivo / DIDWW), separate from the voice switch. Search needs a signed-in session; buying and assigning need a Workspace Admin.

GET /api/numbers/search?country=US&area_code=212Available numbers for a country + area code. Demo (unconfigured): { configured: false, provider: "telnyx", country: "US", demo: true, numbers: ["+12125550121", "+12125550122", "+12125550123"], note }.

POST /api/numbers/buyBuy a number. Body: { phone_number, country?, area_code? }. Workspace Admin only. Unconfigured: 503 { configured: false, purchased: false, error } — nothing is bought.

POST /api/numbers/assignAssign a number to an agent and/or campaign, toggle Local Presence. Body: { phone_number, agent_id?, campaign_id?, local_presence? }. Demo: { configured: false, saved: false, demo: true, assignment, note }.

curl "https://dialmora.appsnation.net/api/numbers/search?country=US&area_code=212"

# Demo-mode response (signed in, no provider live yet):
{"configured": false, "provider": "telnyx", "country": "US", "demo": true,
 "numbers": ["+12125550121", "+12125550122", "+12125550123"],
 "note": "Demo numbers — Telnyx is not configured yet. Buying a number needs
  the Telnyx account + payment set up by Super Admin first."}

AI API — transcription and summaries

These two routes use OpenAI (Whisper + GPT-4o-mini) when a key is configured. The live in-app AI Coach is different: it transcribes and coaches on Gemini's free tier. Do not confuse the two.

POST /api/ai/transcribeWhisper transcription. Multipart form, field audio, max 25 MB. Demo: { configured: false, transcript: "", error: "OpenAI not configured — placeholder key. Transcription unavailable in staging." }

POST /api/ai/summaryPost-call summary. Body: { transcript } — text, max 20,000 characters (else 400). Demo: { configured: false, summary: "AI summary unavailable — OpenAI key not configured (staging placeholder).", sentiment: "unknown", actionItems: [] }.

curl -X POST https://dialmora.appsnation.net/api/ai/summary \
  -H "Content-Type: application/json" \
  -d '{"transcript": "Agent: Hi, this is Amna from Raza Retail. Lead: We are using competitor software at the moment."}'

# Demo-mode response:
{"configured": false,
 "summary": "AI summary unavailable — OpenAI key not configured (staging placeholder).",
 "sentiment": "unknown", "actionItems": []}

Webhooks — Telnyx, Plivo, WhatsApp

Dialmora receives provider events on these routes. Signature verification is wired when each provider account is live — until then the routes accept and acknowledge honestly.

POST /api/webhooks/telnyxTelnyx call + messaging events. Answers { received: true, event_type, note }. Signature verification (TELNYX_WEBHOOK_SECRET) is wired when the account is live.

POST /api/webhooks/plivoPlivo answer URL. On answer it returns <Speak> XML: “Hello, this is a call from Dialmora. Please hold while we connect you to an agent.” Status callbacks (Ringing / Answered / Completed / Hangup) get an empty 200. Note: the agent-leg dial (<Dial> / Browser SDK) is follow-up work — Plivo calls play the message but do not reach an agent yet.

POST /api/webhooks/whatsappTwilio WhatsApp. Form-encoded inbound (From / Body / MessageSid) → { received: true, channel: "whatsapp", from, body, stored: false }. JSON { to, body, channel } sends outbound (body max 4,096 chars; channel "sms" notes that SMS sends via Telnyx primary).

CRM webhooks — planned, not live

POST /api/webhooks/crm exists and acknowledges any JSON payload: { received: true, kind, note } where kind is the payload's event/type or "lead.upsert". That is all it does today. Mapping CRM fields to leads and call logs — for HubSpot, Salesforce or Zoho — is planned, not built: there is no live HubSpot, Salesforce or Zoho sync yet, and none is claimed here.

curl -X POST https://dialmora.appsnation.net/api/webhooks/crm \
  -H "Content-Type: application/json" \
  -d '{"event": "lead.upsert", "email": "lead@example.com"}'

# Response today (acknowledged, not synced):
{"received": true, "kind": "lead.upsert",
 "note": "CRM sync is a placeholder — map fields to leads/call_logs
  when a CRM is connected."}

API keys and auth

Provider keys (Telnyx, Twilio, OpenAI, Stripe, Supabase) are entered by the Super Admin in the Admin panel — they live in the settings table under Super-Admin-only access and come back masked (••••••••). They are never shown in full, and never in these docs. Live actions need a signed-in session; in demo mode (no keys) the routes answer configured: false and need no session. There is no separate Dialmora API key yet — the signed-in session is the auth.

Integrations — only what is real

Telnyx

Primary voice (WebRTC softphone, calls, numbers, SMS). Live when the account is set up.

Plivo

Secondary voice + numbers (US + India self-serve). Answer webhook returns <Speak> today.

DIDWW

Numbers in 90+ countries. Needs a $30 prepaid balance + verified identity/address per country.

Twilio

WhatsApp + international fallback. WhatsApp runs on the Twilio WhatsApp API.

Stripe

Billing — plan subscriptions and credit packs. Account exists for AppsNation LLC.

Supabase

Data + Google sign-in (Postgres, Auth). The plans, numbers and audit tables live here.

CRM (HubSpot / Salesforce / Zoho): the webhook endpoint exists; field mapping is planned, not live. No other integrations are claimed — no SDKs in 11 languages, no 500+ integrations, no developer counts.

Community

There is no Dialmora forum or blog yet — so none is linked here. For help, use the support page or send us a message.

Frequently asked questions

How do I start building on Dialmora?

Sign in with Google, then try any endpoint in demo mode — no key needed. Demo answers say configured: false and place no real calls. When provider accounts are live, the Super Admin issues the keys from the Admin panel.

Do I need an API key?

In demo mode, no. For live actions the caller must have a signed-in session, and the provider keys (Telnyx, Plivo, DIDWW, Twilio) must be set by the Super Admin. Keys are stored in the settings table and come back masked — they are never shown in full, and never in these docs.

Is there an SDK?

No SDK yet — Dialmora is a REST API with curl and JavaScript examples on this page. The examples below run against the real routes.