跳转到主要内容
POST
Check silent eligibility before you start
另请参阅 为静默验证注册国家/地区。

授权

x-api-key
string
header
必填

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

请求头

X-Publishable-Key
string

The client SDK's publishable key for this application.

请求体

application/json
phone_number
string
必填

The number in international format (E.164), for example +34600000012.

Pattern: ^\+[1-9]\d{6,14}$
示例:

"+34600000012"

ip_address
string

The phone's public IP, so the answer also confirms the device is on mobile data.

示例:

"83.44.10.12"

响应

The answer for this number.

eligible
boolean
必填

true when a silent check can run for this number now.

示例:

true

reason
enum<string> | null

When eligible is false, why: unsupported_network - the number's mobile network cannot run the check; not_mobile_data - the device is not on mobile data (send ip_address to have this checked); country_not_covered - silent verification does not run in the number's country.

可用选项:
unsupported_network,
not_mobile_data,
country_not_covered,
null
network
string | null

The mobile network, or null when Didit has no supported network for the number.

示例:

"Mobile network A"

country
string

ISO 3166-1 alpha-2 country code of the number.

Pattern: ^[A-Z]{2}$
示例:

"ES"

wifi_possible
boolean

true when the SIM check can run over Wi-Fi instead, so the device can complete it without mobile data.

示例:

true

最后修改于 2026年11月23日