logo
WarmupWorkspace warmup stats
Warmup

Workspace warmup stats

Returns aggregated warmup metrics across all warming mailboxes in the workspace, plus per-mailbox summaries with inbox/spam rates and health scores.

Health score formula: inboxRate * 0.5 + (100 - spamRate) * 0.3 + openRate * 0.2 (capped at 100).

curl -X GET "https://api.sendkit.ai/v1/warmup/stats?days=42&search=example_string&page=25&limit=42&cursor=example_string" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": {
    "summary": {
      "totalSent": 450,
      "inbox": 380,
      "spam": 40,
      "promotions": 20,
      "replied": 90,
      "opened": 350,
      "inboxRate": 84,
      "spamRate": 9,
      "warmingMailboxes": 3,
      "days": 7
    },
    "mailboxes": [
      {
        "id": "664a1b2c3d4e5f6a7b8c9d03",
        "email": "sales@mycompany.com",
        "displayName": "Sales Team",
        "warmup": {
          "status": "in_progress",
          "currentDay": 14,
          "currentVolume": 25,
          "config": {},
          "metrics": {},
          "startedAt": "2024-05-18T10:00:00.000Z"
        },
        "stats": {
          "totalSent": 175,
          "inbox": 155,
          "spam": 12,
          "promotions": 5,
          "replied": 40,
          "opened": 145,
          "inboxRate": 89,
          "spamRate": 7,
          "healthScore": 88
        }
      },
      {
        "id": "664a1b2c3d4e5f6a7b8c9d04",
        "email": "outreach@mycompany.com",
        "displayName": "Outreach",
        "warmup": {
          "status": "in_progress",
          "currentDay": 7,
          "currentVolume": 15,
          "config": {},
          "metrics": {},
          "startedAt": "2024-05-25T10:00:00.000Z"
        },
        "stats": {
          "totalSent": 105,
          "inbox": 85,
          "spam": 15,
          "promotions": 3,
          "replied": 20,
          "opened": 80,
          "inboxRate": 81,
          "spamRate": 14,
          "healthScore": 76
        }
      }
    ]
  },
  "pagination": {
    "total": 3,
    "page": 1,
    "limit": 20,
    "pages": 1
  }
}
GET
/v1/warmup/stats
GET
API Key (header: X-Api-Key)
X-Api-Keystring
Required

Platform API key (sk_user_...) or Workspace API key (sk_...)

Platform API key (sk_user_...) or Workspace API key (sk_...)
Bearer Token
Bearer Tokenstring
Required

API key as Bearer token

API key as Bearer token
query
daysinteger

Number of days to aggregate stats over (default 7, max 90)

Max: 90
query
limitinteger
Min: 1 • Max: 100
query
cursorstring

Cursor ID for cursor-based pagination (use instead of page for large datasets)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-Api-Keystring
Required

API Key for authentication. Platform API key (sk_user_...) or Workspace API key (sk_...)

header
Authorizationstring
Required

Bearer token. API key as Bearer token

Query Parameters

daysinteger

Number of days to aggregate stats over (default 7, max 90)

cursorstring

Cursor ID for cursor-based pagination (use instead of page for large datasets)

Responses

successboolean
dataobject
paginationobject