BUSINESS

URI

1 2 3 https://mobile.katia.ch/check/{key_public}/{from}/{to}[/{origin}] http://mobile.katia.ch/check/{key_public}/{from}/{to}[/{origin}]

VERB

GET

PARAMETERS

 

Code

Description

Exemple

Mandatory

Code

Description

Exemple

Mandatory

KEY_PUBLIC

Uniq ID

Provided by katia

7817a052-3bf3-11ed-a261-0242ac120002

YES

FROM

A_NUMBER

0041998884433

YES

TO

We need a constant uniq identifier for each subscriber. This information can be derived from

  • HASH(SALT+B_NUMBER)

  • Subscriber ID

  • IMEI

  • Any uniq id related to the subscriber

VALUES

  • A UNIQ identifier

b27c0184c784b0ee2a0cdd7df627fca28a7

YES

ORIGIN

Information regarding the call’s last origin.

VALUES

  • Sip P-Charging-Vector orig-ioi

operator_name.net

NO

RESPONSE

Not spam

 

1 2 3 4 { "score":0, "info":"Unknown" }

Spam

1 2 3 4 { "score":1, "info":"SPAM" }
1 2 3 4 { "score":2, "info":"SPAM" }
1 2 3 4 { "score":3, "info":"SPAM" }

 

RATE

API access is limited by IP ADDRESS and UUID

Default values are

1 2 3 4 5 6 { "rate_second": 10, "rate_1_minute": 30, "rate_5_minute": 100, "rate_day": 100 }

To get a higher allowance please contact katia support