Developers
JSON-RPC 2.0 over HTTPS at https://api.scoremachine.ai. One token, one request envelope and 42 methods, from the carrier holding a single number today to a 200,000-row file scored in the background.
auth.register and auth.login are public. Everything else takes a Token header.
Quickstart
Every request below runs as written. Pick a language once and it holds across all five steps.
Session token
Send email and password to auth.login. The token comes back in the Token response header, not in the body, and lasts 24 hours. When it expires, call auth.login again.
Best for scripts, testing and anything a person signs into.
Token: $SCOREMACHINE_TOKEN
Long-lived key
For integrations that should not sign in again every 24 hours. Your account manager issues the key on request. It is not generated from the workspace.
Sent as Token: $SCOREMACHINE_TOKEN, same as a session token.
Keep tokens on your server, in an environment variable. Never ship one in a browser or mobile client. If a key is exposed, ask your account manager to rotate it.
Same checks, two ways to call them. Pick by how your records arrive.
Real-time
For records as they arrive: a lead form, a pre-send check, a routing decision.
Batch
For files and whole lists. Upload once, start the job, poll until it finishes.
Send the file. Keep the path it returns.
Or projects.list to reuse an existing one.
Build it from the uploaded path. Run audiences.contacts.preview first to check columns.
Price the run for the service_types you plan to use.
Launch the job. It runs in the background.
Every 2 seconds at most, until status reads active.
Download results as CSV or Excel.
Pass one audience ID with a name and results land in a new audience.
phone.validation with phone.validation.mnp, and phone.scoring.accessibility with phone.ehlr. Everything else combines.
42 JSON-RPC methods and one upload endpoint. They all use one token and one envelope.
Every phone method takes the same shape: an array of numbers and an optional geo_iso_code. Switching checks means changing one string. Full parameters and responses at doc.scoremachine.ai →
20 / s
requests in real time
<2 s
average response on validation, MNP and eHLR
10,000
numbers or addresses per request, 2,000 minimum on most methods
10
concurrent batch jobs
2 s
minimum interval between status polls
5 MB
per uploaded file
200,000
rows per audience
24 h
session token lifetime
Retry transient failures with backoff, and poll no faster than the interval above. Talk to your account manager before running sustained volume above these figures.
The workspace, the bots and the API are one account and one balance, and they return the same results.
Platforms that already speak SMPP can run validation on the bind they already have. SMPP setup →
Create an account, call auth.login, and the five calls above run as written.