Pipeline Snapshots

One document per day per org capturing stage counts (segmented by platform), new-contact counts per platform, opt-outs, and never-categorized counts. Snapshots auto-expire after 365 days.

GET/v2.0/insights/pipeline-snapshots

Query Parameters

Query

ParameterTypeDescription
fromstring (YYYY-MM-DD)Start date inclusive. Default: 30 days ago
tostring (YYYY-MM-DD)End date inclusive. Default: today
platformstringall | whatsapp | instagram | messenger. Default: all

Example

cURL
curl -X GET "https://api.sendiee.com/v2.0/insights/pipeline-snapshots?platform=whatsapp&from=2026-04-01&to=2026-04-30" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "success": true,
  "data": [
    {
      "date": "2026-04-29",
      "stageCounts": {
        "Not Categorized": 124,
        "Interested": 88,
        "Follow Up": 41,
        "Converted": 12,
        "Not Interested": 6
      },
      "newContacts": {
        "whatsapp": 18
      },
      "optOuts": 1,
      "neverCategorized": 124
    }
  ],
  "meta": {
    "from": "2026-04-01",
    "to": "2026-04-30",
    "platform": "whatsapp",
    "count": 30
  }
}