Saltar al contenido principal
POST
Add a test number while the networks review
Consulta también Eliminar un número de prueba de registro de red.

Autorizaciones

x-api-key
string
header
requerido

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.

Parámetros de ruta

registration_id
string
requerido

The network feature registration.

Ejemplo:

"nr_01JCP2F4Q8"

Cuerpo

application/json
phone_number
string
requerido

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

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

"+34600000012"

Respuesta

The test number, with the verification that confirms it.

phone_number
string
requerido

The test number.

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

"+34600000012"

status
enum<string>
requerido

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

Opciones disponibles:
code_sent,
verified
Ejemplo:

"code_sent"

verification_id
string

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

Ejemplo:

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

Opciones disponibles:
on
Ejemplo:

"on"

Última modificación el 23 de noviembre de 2026