Vai al contenuto principale
GET
curl
Didit’s Phone Lookup History API elenca le ricerche di rischio telefonico della tua applicazione dalla più recente alla più vecchia. Ogni risultato include il numero di telefono completo, lo stato, il paese, il tipo di linea, il punteggio di rischio e l’orario di creazione. Il punteggio di rischio è null quando non è disponibile. Puoi filtrare per un phone_number esatto o per un intervallo di date di creazione. L’intervallo include created_after ed esclude created_before. Per leggere la pagina successiva, invia il valore di next come offset finché next non è null. next e previous sono offset di pagina come "20", non URL. La paginazione automatica di un SDK lato server non può seguire questi offset, quindi devi passare manualmente anche offset in quel caso.

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 della query

phone_number
string

One number. An E.164 number.

Esempio:

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

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

Intervallo richiesto: 1 <= x <= 100
Esempio:

20

offset
integer

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

Intervallo richiesto: x >= 0

Risposta

A page of matching phone lookups.

count
integer

Rows that match the filters.

Esempio:

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

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

"0"

results
object[]

The rows, newest first.

Ultima modifica il 24 novembre 2026