Quickstart

  1. Create an API key in the portal (Developer) on a Business plan or higher. Copy the secret once (sk_live_… / sk_test_…).
  2. Create a meeting, then ingest audio (or stream live — see Live streaming).
  3. Generate a summary (1 credit) and poll or read the result.
export KEY=sk_live_…
export BASE=https://note-api.blaze.vn   # your API host

# 1) Create a meeting
curl -s -X POST "$BASE/v1/meetings" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: demo-1" \
  -d '{"title":"Demo meeting","languages":["vi"]}'
# → { "id": "sess-…", "status": "waiting", … }

# 2) Upload audio (async job → creates/fills the meeting transcript)
curl -s -X POST "$BASE/v1/transcriptions" \
  -H "Authorization: Bearer $KEY" \
  -F file=@meeting.wav \
  -F title="Demo meeting" \
  -F languages=vi

# 3) When the meeting has a transcript, generate overview (1 credit)
curl -s -X POST "$BASE/v1/meetings/sess-…/summary" \
  -H "Authorization: Bearer $KEY"

Smoke-test any key with GET /v1/me (plan + remaining credits).