Pular para o conteúdo principal
GET
curl
A API de Verificação de telefone da Didit retorna uma verificação e suas tentativas de entrega, em ordem. Cada tentativa inclui o canal, a rota, a rede, os horários de entrega e de leitura, o preço e qualquer erro. O verification_id é retornado ao enviar e ao tentar novamente, e é o mesmo ID que a lista de verificações retorna. Para uma verificação que sua aplicação iniciou ao enviar, use o ID para cancelar uma verificação pendente ou aprovar um código que seu backend verificou. A etapa Telefone de uma sessão de verificação hospedada aparece na lista e pode ser consultada aqui, mas cancelar, aprovar, avançar e tentar novamente retornam 404 not_found para ela.

Autorizações

x-api-key
string
header
obrigatório

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 caminho

verification_id
string<uuid>
obrigatório

The verification.

Exemplo:

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

Resposta

The verification and its attempts.

One verification with every attempt.

verification_id
string<uuid>

The verification.

Exemplo:

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

status
enum<string>

Its status.

Opções disponíveis:
pending,
verified,
not_delivered,
expired,
blocked,
cancelled
Exemplo:

"verified"

phone_number
string | null

The number.

Exemplo:

"+34600000012"

country
string | null

ISO country code.

Exemplo:

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

Exemplo:

"signup-48221"

tags
object | null

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

Exemplo:
created_at
string<date-time>

When it started.

Exemplo:

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

verified_at
string<date-time> | null

When it was verified.

Exemplo:

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

Última modificação em 24 de novembro de 2026