Aller au contenu
Esc
↑↓naviguer↵ouvrir⌘Japerçu

Get opens by mail client

GET/emails/metrics/clients
Autorisation
AuthorizationJeton Bearer · headerrequis

A BillionSend API key (bs_…).

Paramètres de requête
start_datestring
end_datestring
domain_idstring<uuid>[]
max 100 éléments
broadcast_idstring<uuid>[]
max 100 éléments
Réponses
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.

objectstringrequis
Valeurs autorisées :list
start_datestringrequis
end_datestringrequis
has_morebooleanrequis
dataobject[]requis
Afficher les propriétés
Tableau de object
clientstringrequis

The mail client that fetched the open

Valeurs autorisées :gmailapple_mailoutlookyahoothunderbirdotherunknown
openedintegerrequis

Opens by people

unique_openedintegerrequis

Emails whose first open came from here

bot_openedintegerrequis

Pixel fetches by machines (scanners, prefetches)

401

Missing, malformed, unknown or revoked API key

statusCodenumberrequis
namestringrequis
messagestringrequis
403

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

statusCodenumberrequis
namestringrequis
messagestringrequis
422

Validation error

statusCodenumberrequis
namestringrequis
messagestringrequis
429

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

statusCodenumberrequis
namestringrequis
messagestringrequis
503

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

statusCodenumberrequis
namestringrequis
messagestringrequis
Essayer
Serveur
Autorisation
Paramètres
Requête
curl -X GET 'https://api.billionsend.com/emails/metrics/clients' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Réponse
{
  "object": "list",
  "start_date": "string",
  "end_date": "string",
  "has_more": true,
  "data": [
    {
      "client": "gmail",
      "opened": 0,
      "unique_opened": 0,
      "bot_opened": 0
    }
  ]
}

Cette page vous a-t-elle été utile ?