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).
| Field | Type | Description |
|---|---|---|
| audio | file, required | Call recording (MP3, WAV, M4A, OGG), max 25 MB |
| instrument | string, required | Symbol or instrument name |
| side | string, required | Buy or Sell |
| quantity | string, required | Number of shares / lots |
| price | string | Limit price or "Market" |
| orderType | string | Limit, Market, Stop-loss… |
| exchange | string | NSE, BSE… |
| tradeDate | string | ISO date (YYYY-MM-DD) |
| clientName / clientCode | string | Client identity as stored in CRM |
| agentName / crmReference | string | Echoed 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
| 400 | Missing recording or required field |
| 401 | Missing or invalid API key |
| 413 | Recording larger than 25 MB |
| 429 | Rate limit reached — retry after the Retry-After header |
| 500 | Analysis failed — safe to resubmit |
Want to see it in action? Try the live demo.