---
title: "Get inbox placement analytics stats by date"
method: POST
path: "/api/v2/inbox-placement-analytics/stats-by-date"
tags: ["InboxPlacementAnalytics"]
---

# Get inbox placement analytics stats by date

`POST /api/v2/inbox-placement-analytics/stats-by-date`

Provides a time series representing the distribution of emails sent to inbox, spam, or category folders for scheduled inbox placement tests.


Requires one of the following scopes: `inbox_placement_analytics:read`, `inbox_placement_analytics:all`, `all:read`, `all:all`

## Request body

- object
  - `test_id` string, uuid, required
  - `date_from` string
  - `date_to` string
  - `recipient_geo` number[]
  - `recipient_type` number[]
  - `recipient_esp` number[]
  - `sender_email` string

## Response `200`

Default Response

- object[]
  - `timestamp_created_date` string, required
  - `sent_count` number, required
  - `received_count` number, required
  - `spam_count` number, required
  - `inbox_count` number, required
  - `category_count` number, required

## Other responses

- `401` — This request is unauthorized (either the Authorization header is missing or invalid, or the API key has been revoked)
- `402` — This request cannot be fulfilled because the workspace does not have an active paid plan
- `404` — The requested resource was not found
- `429` — You have exceeded the rate limit. Please check the rate limit docs for more information.

---

[API](https://skmtc.net/instantly/apis/api-explorer.md) · [All operations](https://skmtc.net/instantly/apis/api-explorer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/instantly/api-explorer/revisions/378d1e253fe7/schema)
