REST API · v1

Integrate trade call verification

Send each recorded order call with the trade your agent entered in the CRM. CallCheck transcribes the call, compares every field and returns a verdict you can store against the order.

Authentication

Every request carries your secret API key in the Authorization header. Keys are issued per environment; keep them on your servers, never in browser or mobile code.

Authorization: Bearer sk_live_••••••••

POST/v1/audits

Multipart form upload. Returns when analysis completes (typically 10–40 seconds depending on call length).

FieldTypeDescription
audiofile, requiredCall recording (MP3, WAV, M4A, OGG), max 25 MB
instrumentstring, requiredSymbol or instrument name
sidestring, requiredBuy or Sell
quantitystring, requiredNumber of shares / lots
pricestringLimit price or "Market"
orderTypestringLimit, Market, Stop-loss…
exchangestringNSE, BSE…
tradeDatestringISO date (YYYY-MM-DD)
clientName / clientCodestringClient identity as stored in CRM
agentName / crmReferencestringEchoed back so you can match results to your records

Example request

curl -X POST https://api.callcheck.example/v1/audits \
  -H "Authorization: Bearer $CALLCHECK_API_KEY" \
  -F "audio=@call-778812.mp3" \
  -F "crmReference=ORD-778812" \
  -F "agentName=Priya Shah" \
  -F "clientName=Rahul Mehta" \
  -F "clientCode=SHC-204381" \
  -F "instrument=RELIANCE" \
  -F "side=Buy" \
  -F "quantity=500" \
  -F "price=2945.50" \
  -F "orderType=Limit" \
  -F "exchange=NSE" \
  -F "tradeDate=2026-12-03"

Example response · 200

{
  "id": "aud_9f2c41",
  "crmReference": "ORD-778812",
  "verdict": "mismatch",            // "verified" | "mismatch" | "disputed"
  "summary": "Client asked for 50 shares, CRM shows 500.",
  "clientConfirmed": true,
  "fields": [
    {
      "field": "Quantity",
      "recordValue": "500",
      "callValue": "50",
      "status": "mismatch",         // "match" | "mismatch" | "not_mentioned" | "unclear"
      "evidence": "buy fifty shares of Reliance"
    }
  ],
  "concerns": [],
  "transcript": "Agent: Good morning..."
}

Verdicts

  • verified — all fields match the call and the client confirmed the order.
  • mismatch — at least one field contradicts the client's instruction.
  • disputed — a field was not mentioned or unclear, or the client never confirmed. Route to manual review.

Errors

400Missing recording or required field
401Missing or invalid API key
413Recording larger than 25 MB
429Rate limit reached — retry after the Retry-After header
500Analysis failed — safe to resubmit

Want to see it in action? Try the live demo.