Passer au contenu principal
POST
Add a test number while the networks review
Voir aussi Supprimer un numéro de test d’enregistrement réseau.

Autorisations

x-api-key
string
header
requis

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.

Paramètres de chemin

registration_id
string
requis

The network feature registration.

Exemple:

"nr_01JCP2F4Q8"

Corps

application/json
phone_number
string
requis

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

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

"+34600000012"

Réponse

The test number, with the verification that confirms it.

phone_number
string
requis

The test number.

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

"+34600000012"

status
enum<string>
requis

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

Options disponibles:
code_sent,
verified
Exemple:

"code_sent"

verification_id
string

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

Exemple:

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

Options disponibles:
on
Exemple:

"on"

Dernière modification le 23 novembre 2026