get_campaign_stats

Return normalized campaign stats for SendGrid, Mailchimp, or Klaviyo.

Endpoint

POST https://api.vorlek.com/v1/tools/get_campaign_stats

Input

FieldTypeRequiredNotes
providerstringnoAuto-detected when exactly one connection exists.
campaign_idstringyesProvider campaign id.

Output

{
  "provider": "sendgrid",
  "campaign_id": "camp_123",
  "sent": 100,
  "opens": 57,
  "clicks": 12,
  "bounces": 2,
  "unsubscribes": 1,
  "period": { "start": "2026-04-01T00:00:00.000Z", "end": "2026-04-26T00:00:00.000Z" }
}