Pular para o conteúdo principal
GET
curl
A API de histórico de consultas de telefone da Didit lista as consultas de risco de telefone da sua aplicação, da mais recente para a mais antiga. Cada resultado inclui o número de telefone completo, o status, o país, o tipo de linha, a pontuação de risco e o horário de criação. A pontuação de risco é null quando não estiver disponível. Filtre por um phone_number exato ou por um intervalo de criação. O intervalo inclui created_after e exclui created_before. Para ler a próxima página, envie o valor de next como offset até que next seja null. next e previous são deslocamentos de página, como "20", e não URLs. A paginação automática de um SDK de servidor não consegue seguir esses deslocamentos, então passe offset manualmente também nesse caso.

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 consulta

phone_number
string

One number. An E.164 number.

Exemplo:

"+12025550136"

created_after
string<date-time>

Include lookups created at or after this time. The earliest lookup time, ISO 8601.

created_before
string<date-time>

Include lookups created before this time.

limit
integer
padrão:20

20 by default, 100 at most. Rows per page.

Intervalo obrigatório: 1 <= x <= 100
Exemplo:

20

offset
integer

Where the page starts: 0 by default, or the next or previous value of another page. Rows to skip.

Intervalo obrigatório: x >= 0

Resposta

A page of matching phone lookups.

count
integer

Rows that match the filters.

Exemplo:

1

next
string | null

Offset of the next page of lookups, as a string such as "20", or null on the last page. It is not a URL: send it as offset to read that page.

Pattern: ^[0-9]+$
Exemplo:

"20"

previous
string | null

Offset of the previous page of lookups, as a string such as "0", or null on the first page. It is not a URL: send it as offset to read that page.

Pattern: ^[0-9]+$
Exemplo:

"0"

results
object[]

The rows, newest first.

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