action sendgrid_get_clients_client_type_stats { label: "Retrieve stats by a specific client type." description: "**This endpoint allows you to retrieve your email statistics segmented by a specific client type.**\n\n**We only store up to 7 days of email activity in our database.** By default, 500 items will be returned per request via the Advanced Stats API endpoints.\n\n## Available Client Types\n- phone\n- tablet\n- webmail\n- desktop\n\nAdvanced Stats provide a more in-depth view of your email statistics and the actions taken by your recipients. You can segment these statistics by geographic location, device type, client type, browser, and mailbox provider. For more information about statistics, please see our [Statistics Overview](https://sendgrid.com/docs/ui/analytics-and-reporting/stats-overview/)." provider: sendgrid method: GET path: "/clients/{client_type}/stats" encoding: json output: { type: "array" items: { type: "object" properties: { date: { type: "string" description: "The date that the statistics were gathered." } stats: { type: "array" description: "The list of statistics." items: { type: "object" properties: { metrics: { type: "object" description: "The individual events and their stats." properties: { opens: { type: "integer" description: "The total number of times your emails were opened by recipients." } unique_opens: { type: "integer" description: "The number of unique recipients who opened your emails." } } } name: { type: "string" description: "The name of the specific segmentation." } type: { type: "string" description: "The type of segmentation." } } } } } } } }