Langsung ke konten utama
POST
Add a test number while the networks review
Lihat juga Hapus nomor uji registrasi jaringan.

Otorisasi

x-api-key
string
header
wajib

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.

Parameter Path

registration_id
string
wajib

The network feature registration.

Contoh:

"nr_01JCP2F4Q8"

Body

application/json
phone_number
string
wajib

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

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

"+34600000012"

Respons

The test number, with the verification that confirms it.

phone_number
string
wajib

The test number.

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

"+34600000012"

status
enum<string>
wajib

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

Opsi yang tersedia:
code_sent,
verified
Contoh:

"code_sent"

verification_id
string

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

Contoh:

"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.

Opsi yang tersedia:
on
Contoh:

"on"

Terakhir diubah pada 23 November 2026