Introduction
Conversation events for developers. Sparkle tells your product the moment something happens in a conversation.
Sparkle reads a live conversation's transcript and sends you an event when something happens in it: a decision, a request or a commitment, a question, a fact nobody in the room knows.
You send the transcript as it's spoken. Each moment arrives seconds later, typed and signed, with who said it and the words they used.
How it works
1. Transcript in 2. Moments 3. Events out
──────────────────────── ────────────────────────── ─────────────────────────
your own turns decision +5.0s a signed webhook
a Recall.ai bot ──► request.do +0.0s ──► a server-sent event stream
a Deepgram stream knowledge_gap +2.0s the moments list
a finished transcript your own kinds …- Transcript in. Post turns as people speak, point a Recall.ai or Deepgram stream at the conversation, or import a finished transcript.
- Moments. Sparkle reads each finished turn once and decides whether it is one of ten built-in kinds, or one of the custom moments you define in plain English. Each kind waits as long as it needs: a request goes at once, a decision waits for the exchange to settle.
- Events out. Each moment goes out as a
moment.detectedevent, to your webhook and on the conversation's event stream.
Here is what you receive when Sam says "Okay, let's go with the two-year term at the current tier.":
{
"id": "evt_2kd7qc4h8n1s5w9z3b6e",
"object": "event",
"type": "moment.detected",
"livemode": false,
"created_at": "2026-12-03T15:00:09Z",
"data": {
"id": "mom_2kd7qa1c5e9g3j7l0npw",
"object": "moment",
"conversation_id": "cnv_2kd7q1v9x4m8r2t6b3ny",
"kind": "decision",
"text": "Okay, let's go with the two-year term at the current tier.",
"speaker": { "key": "sam", "name": "Sam" },
"at": 4.1,
"confidence": 0.82,
"turn_ids": ["t1"],
"settled_ms": 5000,
"…": "…"
}
}Start here
Quickstart
Create a conversation, send two turns and receive your first moments in five minutes.
Use with AI
Point Claude Code, Codex or Cursor at these docs and let it write the integration.
Concepts
Conversations, the turn contract, the ten moment kinds and how delivery works.
API reference
Every endpoint and webhook event, generated from the OpenAPI spec.
Keys and environments
Every request carries an API key in the X-API-Key header, against
https://api.sparkle.ai/public/v1. A key belongs to one organization of your company, and comes in
two environments:
spk_test_…keys for building and testing. Test traffic is never billed.spk_live_…keys for production.
Create keys in the dashboard under Settings → API keys. Security covers keys, signatures and how long Sparkle keeps a transcript.