fraud:chat-scam

Screen a chat message for fraud intent

post/v1/ai/fraud/chat-scam

Request

  • Base URL
    https://api.intura.co (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

messagestring required

The message to screen — WhatsApp, SMS, Telegram, in-app chat, any of them. Bounded by the module's MAX_CHARS.

historystring[] nullable

Previous turns in the conversation, oldest first. The last 20 are read. Worth sending: half of chat fraud is an arc rather than a message, and none of the lines that build it is a scam on its own.

senderstring nullable

Who the message is from — a phone number, a handle, a display name. Read as a weak signal only; a number is trivially spoofed and is never the reason a message is blocked.

thresholdsobject nullable

Move the cuts for this one call: block (default 0.75) and review (default 0.4). Either alone is fine; the other keeps Intura's default. The console's playground is where to find the bar that suits your traffic; this field is where to put it.

Example request

{
  "message": "Selamat! Nomor anda terpilih sebagai pemenang undian. Untuk klaim hadiah, kirim kode OTP yang baru saja masuk ke nomor anda.",
  "history": [
    "Halo",
    "Sibuk ga?",
    "Ini nomor baru saya ya"
  ],
  "sender": "+62 812-0000-0000",
  "thresholds": {
    "block": 0.6
  }
}

Response

Successful Response

statusstring

Always success on a 2xx

codeinteger

Mirrors the HTTP status code

Changes

No recorded changes to this operation across all 1 revision of this API.