Skip to navigation

Phone check

POST /api/v1/checks/phone
GET /api/v1/checks/phone
GET /api/v1/checks/phone/:id
DELETE /api/v1/checks/phone/:id

Check a phone number on its own, with no verification and no code sent to it. The check tells you whether the number is real, which country it belongs to, what kind of line it is, and whether other people in your organisation already used it, then scores it from 0 to 100. It is the server-to-server counterpart of the dashboard’s Spot Checks → Individual → Check phone task, and both share one history (API checks are labelled “API”).

Authentication: Authorization: Bearer sk_… (secret keys only). The answer is about a person’s number, so this never belongs in client-side code.

To prove that a person holds a number, send them a code with contact verification instead. This check scores the number; it does not reach it.

Run a check

FieldRequiredDescription
phoneyesThe number with its country code (+234 803 123 4567), or a local number with country (0803 123 4567). Spaces, dashes and brackets are fine. At most 40 characters.
countrynoThe two-letter ISO 3166-1 code of the country a local number is dialled in, e.g. NG. A number sent with its country code is read by its code, whatever you send here.
requestIdyesYour idempotency key, 8 to 120 characters. A retry with the same value returns the same check with replayed: true, without running or charging again.
curl -X POST https://api.toden.co/api/v1/checks/phone \
-H "Authorization: Bearer sk_live_…" \
-H "Content-Type: application/json" \
-d '{ "phone": "0803 123 4567", "country": "NG", "requestId": "phone-check-7f3a9c21" }'

The answer comes back in the same response (201, or 200 for a retry):

{
"id": "chk_4b1e9d2c7a0f4e8b9c3d2a1f0e9b8c7d",
"kind": "phone",
"outcome": "pass",
"subject": "+2348031234567",
"input": { "phone": "+2348031234567", "country": "NG" },
"result": {
"e164": "+2348031234567",
"international": "+234 803 123 4567",
"valid": true,
"possible": true,
"country": "NG",
"countryName": "Nigeria",
"callingCode": "234",
"countryMismatch": false,
"lineType": "mobile",
"virtual": false,
"score": 0,
"level": "low",
"reasons": [],
"reuse": { "verifications": 0, "declined": 0, "customers": 0, "people": 0 }
},
"failureCode": null,
"charged": "0.0100",
"entityId": null,
"channel": "api",
"createdAt": "2026-11-20T10:15:02.118Z",
"completedAt": "2026-11-20T10:15:02.164Z",
"replayed": false
}

The number is kept in E.164 form only. List your checks with GET /api/v1/checks/phone (newest first, page, pageSize and outcome filters), read one with GET /api/v1/checks/phone/:id, and remove one from your history with DELETE /api/v1/checks/phone/:id.

The result

FieldDescription
e164The number in E.164 form.
internationalThe number written the international way, for people to read.
validtrue when the number is in a range a carrier has been given. A number that is not valid fails the check.
possibletrue when the number has the right length for its country. A number can be possible and still not valid: usually a typo, or a range kept for films and tests.
country, countryNameThe country the number belongs to, from its dial code: the ISO-2 code and its name in English. null when the dial code is shared by several countries and the range is not known.
callingCodeThe country calling code, digits only.
countryMismatchtrue when you sent country and the number belongs to another country. null when you sent none. Shown, not scored: many people carry a number from another country.
lineTypemobile, fixed_line, fixed_line_or_mobile (where a country does not tell the two apart, such as the US), voip, toll_free, premium_rate, shared_cost, personal_number, pager, uan or voicemail. null when the range is not classified. New values may be added.
virtualtrue for a VoIP number, false for any other known line type, null when the line type is unknown.
scoreThe phone risk score: 0 is nothing found, 100 the most risk.
levellow below 30, medium from 30, high from 60.
reasonsWhy points were added, strongest first (below).
reuse.verificationsYour verifications that proved this number with a code.
reuse.declinedHow many of those were declined.
reuse.customersYour customers whose contact details hold this number.
reuse.peopleAt least this many different people used the number. Verifications for the same ID number count as one person.

reuse reads your organisation’s records in the same environment only, never another organisation’s. Fields are only ever added to result, never renamed. The carrier is not reported: it needs a paid lookup we do not make, and a field we cannot fill honestly is left out.

Reasons

CodePointsMeaning
invalid_number100The number is not in any range a carrier has been given.
premium_rate_line70A premium rate number: calls cost the caller, so it is never a person’s own line.
voip_line40A VoIP number, bought online in minutes. Many honest people use one, so on its own it goes to review.
personal_number40A “follow me” number (such as UK 070) that forwards anywhere, so who answers is hidden.
service_line30A toll-free, shared-cost, pager or voicemail number: a business or a service, not a person.
shared_number25Two or more different people in your organisation used this number.
linked_to_declined15A verification that proved this number was declined.

The score is the sum, capped at 100. A fact we could not establish adds nothing: a gap in our data never counts against a person. A fixed line, a number from another country, and one earlier verification with the number (most often the same person again) are not scored.

Outcomes

outcomeWhen
passLow risk: a score below 30.
reviewMedium risk: a score from 30 to 59. Someone should look at it.
failHigh risk: a score of 60 or more, or a number that is not valid.
unavailableThe check could not be completed (failureCode says why). It was not charged and is never a pass. Run it again with a new requestId.

A number that cannot be read at all (no digits, or a local number with no country) is refused with 400 invalid_input and a message saying what to change. Nothing is run or charged.

Billing

Each check is charged at your phone risk price, in production only. A check that could not be completed (unavailable) is refunded at once, and a retry with the same requestId is never charged again. If your balance cannot cover the check, it is refused with 402 insufficient_credits and nothing is run. The check never calls a paid provider.

Test numbers

Outside production the check runs for real and is free. The line type comes from the published numbering plans, so these numbers give the same answer in every environment. reuse depends on your own records in that environment.

NumberLine typeOutcome
+234 803 123 4567mobile (Nigeria)pass
+44 7400 123456mobile (United Kingdom)pass
+44 20 7123 4567fixed_linepass
+44 800 123 4567toll_freereview (service_line)
+44 56 1234 5678voipreview (voip_line)
+44 70 1234 5678personal_numberreview (personal_number)
+44 901 234 5678premium_ratefail (premium_rate_line)
+44 7700 900123none: possible, not validfail (invalid_number)

Errors

CodeStatusMeaning
invalid_input400phone is missing or cannot be read, country is not a two-letter code, or requestId is malformed.
insufficient_credits402Your balance cannot cover the check. Nothing was run or charged.
checks_unavailable403These checks are not switched on for your organisation yet.
spot_checks_disabled403Spot checks are not enabled for your organisation.
request_id_reused409The requestId was used for a different check.
check_in_progress409A check with this requestId is still running.