Vai al contenuto principale
GET
curl
Didit’s Phone Verifications API restituisce una verifica e i relativi tentativi di consegna in ordine. Ogni tentativo include il canale, il percorso, la rete, gli orari di consegna e di lettura, il prezzo ed eventuali errori. Il verification_id viene restituito da send e retry ed è lo stesso ID restituito dall’elenco delle verifiche. Per una verifica avviata dalla tua applicazione con send, utilizzalo per annullare una verifica in sospeso o approvare un codice verificato dal tuo backend. Il passaggio Phone di una sessione di verifica ospitata è elencato e leggibile qui, ma cancel, approve, next e retry restituiscono 404 not_found per questo passaggio.

Autorizzazioni

x-api-key
string
header
obbligatorio

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.

Parametri del percorso

verification_id
string<uuid>
obbligatorio

The verification.

Esempio:

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

Risposta

The verification and its attempts.

One verification with every attempt.

verification_id
string<uuid>

The verification.

Esempio:

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

status
enum<string>

Its status.

Opzioni disponibili:
pending,
verified,
not_delivered,
expired,
blocked,
cancelled
Esempio:

"verified"

phone_number
string | null

The number.

Esempio:

"+34600000012"

country
string | null

ISO country code.

Esempio:

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

Esempio:

"signup-48221"

tags
object | null

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

Esempio:
created_at
string<date-time>

When it started.

Esempio:

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

verified_at
string<date-time> | null

When it was verified.

Esempio:

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

Ultima modifica il 24 novembre 2026