Saltar al contenido principal
GET
curl
La API de historial de consultas de teléfono de Didit enumera las consultas de riesgo telefónico de tu aplicación, de la más reciente a la más antigua. Cada resultado incluye el número de teléfono completo, el estado, el país, el tipo de línea, la puntuación de riesgo y la fecha y hora de creación. La puntuación de riesgo es null cuando no está disponible. Puedes filtrar por un phone_number exacto o por un intervalo de creación. El intervalo incluye created_after y excluye created_before. Para leer la página siguiente, envía el valor de next como offset hasta que next sea null. next y previous son desplazamientos de página, como "20", no son URL. La paginación automática de un SDK de servidor no puede seguir estos desplazamientos, así que en ese caso también debes pasar offset tú mismo.

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 consulta

phone_number
string

One number. An E.164 number.

Ejemplo:

"+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
predeterminado:20

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

Rango requerido: 1 <= x <= 100
Ejemplo:

20

offset
integer

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

Rango requerido: x >= 0

Respuesta

A page of matching phone lookups.

count
integer

Rows that match the filters.

Ejemplo:

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]+$
Ejemplo:

"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]+$
Ejemplo:

"0"

results
object[]

The rows, newest first.

Última modificación el 24 de noviembre de 2026