Vai al contenuto principale
GET
curl
L’API Phone Stats di Didit riporta la spesa in USD e l’attività per verifiche, messaggi o ricerche in un intervallo di date. Scegli un raggruppamento supportato dal prodotto. Un tasso o un percentile per cui un gruppo non ha eventi è 0, mai null. Una data to con cui nessuna finestra può terminare, come 9999-12-31, viene rifiutata con un 400 che indica to. Per sapere quanto puoi spendere, consulta la Phone Balance API.

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

product
enum<string>

The product to report on.

Opzioni disponibili:
verification,
messages,
lookups
group_by
enum<string>

For verification, use country, channel, network, line_type or day. For messages, use country, channel or day. For lookups, use country, network, line_type or day. Defaults to day.

Opzioni disponibili:
country,
channel,
network,
line_type,
day
from
string<date>

The first day, as YYYY-MM-DD.

to
string<date>

The last day, as YYYY-MM-DD, before 9999-12-31.

Risposta

One entry per group.

rows
object[]
obbligatorio

One entry per group, in the requested grouping.

Ultima modifica il 24 novembre 2026