Saltar al contenido
Esc
↑↓navegar↵abrir⌘Jvista previa

Get opens by mail client

GET/emails/metrics/clients
Autorización
AuthorizationToken Bearer · headerobligatorio

A BillionSend API key (bs_…).

Parámetros de consulta
start_datestring
end_datestring
domain_idstring<uuid>[]
máx. 100 elementos
broadcast_idstring<uuid>[]
máx. 100 elementos
Respuestas
200

Opens in the range by the mail client that fetched the message's images, most opened first (BillionSend extension). client is one of gmail, apple_mail, outlook, yahoo, thunderbird, other (a web browser, which webmail and clients without markers look like) or unknown (no user agent). Clicks are not counted by client: a click arrives from the browser the client hands the link to. Only the client is kept, never the user agent. Counts cover whole UTC hours like GET /emails/metrics, and opens are counted by client from 2026-11-16 on. A key held to one domain always reads that domain only.

objectstringobligatorio
Valores permitidos:list
start_datestringobligatorio
end_datestringobligatorio
has_morebooleanobligatorio
dataobject[]obligatorio
Mostrar propiedades
Array de object
clientstringobligatorio

The mail client that fetched the open

Valores permitidos:gmailapple_mailoutlookyahoothunderbirdotherunknown
openedintegerobligatorio

Opens by people

unique_openedintegerobligatorio

Emails whose first open came from here

bot_openedintegerobligatorio

Pixel fetches by machines (scanners, prefetches)

401

Missing, malformed, unknown or revoked API key

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
403

Restricted API key: a sending_access key, or a key held to one domain that named another domain in domain_id

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
422

Validation error

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
429

Over the rate limit (rate_limit_exceeded, with Retry-After)

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
503

The statistics store is not answering; sending is unaffected. Retry shortly.

statusCodenumberobligatorio
namestringobligatorio
messagestringobligatorio
Pruébalo
Servidor
Autorización
Parámetros
Solicitud
curl -X GET 'https://api.billionsend.com/emails/metrics/clients' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Respuesta
{
  "object": "list",
  "start_date": "string",
  "end_date": "string",
  "has_more": true,
  "data": [
    {
      "client": "gmail",
      "opened": 0,
      "unique_opened": 0,
      "bot_opened": 0
    }
  ]
}

¿Te ha resultado útil esta página?