1. Quickstart
CallerAPI Documentation
  • Quickstart
  • Use cases
    • For carriers (MNOs/MVNOs)
    • CPaaS platforms
    • Cloud communications providers
    • SIP trunking providers
    • PBX/Cloud PBX
    • UCaaS vendors
  • Account
    • Balance and email
      GET
  • Spam protection
    • Voice firewall
      • Get started
      • Quickstart
        • What you get
        • Before you start
        • Test with a recording
        • Connect your switch
        • Switch notes
        • Twilio and Telnyx
        • Send text instead of audio
      • Verdicts
        • Read a verdict
        • What to do with a verdict
        • Block a caller
        • Events and webhooks
      • Honeypot
        • Hand a call over
        • Audio, events, and limits
      • Reference
        • Endpoints
        • Errors
        • Limits and thresholds
        • Production checklist
      • REST
        • What this deployment can do
        • List the verdict categories
        • List the honeypot personas
        • Score a transcript or a recording
        • List your recent sessions
        • Get one session with verdict and intel
        • Twilio voice URL for a screened number
        • Preview the Twilio TwiML
        • Telnyx voice URL for a screened number
        • Twilio voice URL for a honeypot number
        • Telnyx voice URL for a honeypot number
      • WebSocket
        • Live scam filter stream
        • Honeypot stream
    • Daily spam reports
      • Webhook
        • Subscribe to daily reports
        • Unsubscribe from daily reports
        • List webhook subscriptions
        • Manual dispatch of reports
        • Test webhook
      • REST
        • Fetch daily spam reports
    • 15 days spam CSV snapshot
      GET
    • Spam score + HLR
      GET
  • Mobile SDK
    • Get started
    • Quickstart
      • What you get
      • Get your keys
      • Android
      • iOS
      • Flutter
      • React Native
      • Check it works
    • Call screening
      • What each platform can do
      • Android call screening
      • iOS prerequisites
      • iOS add the extension
      • iOS test on device
    • Reference
      • Methods
      • Errors
      • Limits and billing
      • Troubleshooting
  • Data partners
    • Partner tems & docs
    • Upload spam reports
    • Upload contacts
  • Fraud prevention
    • Ported date
    • Porting history
    • Online presence
    • KYC user identity
  • Schemas
    • Spam protection
      • Spam score request
      • Business info
      • Carrier info
      • Complaint (without number)
      • Daily spam reports request
      • Complaint (with phone)
  1. Quickstart

Before you start

Two minutes. Three checks.

Step 1: get your key#

Open the dashboard and copy your API key. It is the same key as the rest of the CallerAPI API.
Send it in the X-Auth header. Every endpoint under /api/voice also accepts ?key=YOUR_KEY in the URL, because telephony vendors cannot set headers on a media socket.
Every JSON response has "status": "success" or "status": "error" with a message.

Step 2: check the deployment#

{
  "status": "success",
  "capabilities": {
    "scan": true,
    "live_filter": true,
    "honeypot": true,
    "personas": 8,
    "prices": {
      "credit_usd": 0.0039,
      "filter_per_minute": 3,
      "honeypot_per_minute": 8,
      "scan": 2,
      "scan_audio_minute": 1,
      "managed_telephony_per_minute": 4
    }
  }
}
FieldMeaning
scanAlways true.
live_filterMust be true before you open the filter socket. When false, the socket answers 503.
honeypotMust be true before you hand a call to a persona.
pricesThe credit prices in force.
See What this deployment can do for the full response.

Step 3: check the credits#

The filter charges at the start of the call and once per started minute. When the account runs out of credits, the session ends. The final session.ended event is still sent.
Check the balance with GET /api/me.

What you need on your side#

A component that can open a WebSocket to wss://api.callerapi.com and stream the caller's audio into it. FreeSWITCH has mod_audio_fork. Asterisk, Kamailio, and most SBCs need a small bridge. See Switch notes.
The caller's audio on its own channel.
16-bit PCM or G.711 mu-law. 8000 Hz is normal. Up to 48000 Hz is accepted.
If the call arrives on a Twilio or Telnyx number, you need none of this. See Twilio and Telnyx.
Next: Test with a recording.
Modified at 2026-09-18 16:56:40
Previous
What you get
Next
Test with a recording
Built with