Saltar al contingut principal
GET
curl
L’API de verificacions de telèfon de Didit retorna una verificació i els seus intents d’enviament en ordre. Cada intent inclou el seu canal, la ruta, la xarxa, els moments de lliurament i de lectura, el preu i qualsevol error. El verification_id el retornen les operacions d’enviament i de reintent, i és el mateix identificador que retorna la llista de verificacions. Per a una verificació que la teva aplicació ha iniciat amb enviar, utilitza’l per a cancel·lar una verificació pendent o per a aprovar un codi que el teu backend ha comprovat. El pas de telèfon d’una sessió de verificació allotjada apareix a la llista i es pot llegir aquí, però les operacions de cancel·lació, aprovació, pas següent i reintent retornen 404 not_found per a aquest pas.

Autoritzacions

x-api-key
string
header
requerit

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àmetres de ruta

verification_id
string<uuid>
requerit

The verification.

Exemple:

"c9b18621-9f8f-4590-a3b4-f8ebea4baa7d"

Resposta

The verification and its attempts.

One verification with every attempt.

verification_id
string<uuid>

The verification.

Exemple:

"c9b18621-9f8f-4590-a3b4-f8ebea4baa7d"

status
enum<string>

Its status.

Opcions disponibles:
pending,
verified,
not_delivered,
expired,
blocked,
cancelled
Exemple:

"verified"

phone_number
string | null

The number.

Exemple:

"+34600000012"

country
string | null

ISO country code.

Exemple:

"ES"

attempts
object[]

One entry per send, in the order the sends went out. A same-window retry repeats the last channel, so one channel can appear more than once.

reference
string | null

Your reference.

Exemple:

"signup-48221"

tags
object | null

The verification's session metadata. Values can include nested JSON objects and arrays.

Exemple:
created_at
string<date-time>

When it started.

Exemple:

"2026-11-21T10:00:00Z"

verified_at
string<date-time> | null

When it was verified.

Exemple:

"2026-11-21T10:00:12Z"

Darrera modificació el 24 de novembre del 2026