メインコンテンツへスキップ
POST
Add a test number while the networks review
関連項目: ネットワーク登録テスト番号を削除する

承認

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.

パスパラメータ

registration_id
string
必須

The network feature registration.

例:

"nr_01JCP2F4Q8"

ボディ

application/json
phone_number
string
必須

A number you hold, in E.164. Didit sends it a code to confirm it.

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

"+34600000012"

レスポンス

The test number, with the verification that confirms it.

phone_number
string
必須

The test number.

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

"+34600000012"

status
enum<string>
必須

code_sent - Didit sent it a code, which makes it a verified test number once checked; verified - it answers the feature under test access.

利用可能なオプション:
code_sent,
verified
例:

"code_sent"

verification_id
string

The verification carrying the code: check it with POST /v3/phone/check/.

例:

"pv_01JCH6D4T7N2XK8F"

test_access
enum<string>

on - the registration is under review, so the feature answers for its test numbers, with test: true in the answer.

利用可能なオプション:
on
例:

"on"

最終更新日 2026年11月23日