Ambil ringkasan
GET/v1/campaigns/{id}/stats
Butuh scope campaigns:read. Blok money hanya keluar dengan finance:read.
Ringkasan disimpan sampai 60 menit, atau 24 jam untuk kampanye yang sudah selesai. Jawaban membawa header ETag. Kirim lagi lewat If-None-Match, dan API menjawab 304 tanpa isi kalau belum ada perubahan.
| Kolom | Isi |
|---|---|
applicants | Jumlah pendaftaran |
content | Jumlah konten per status |
views.verified_total | Total views terverifikasi |
views.by_platform | Views per platform |
engagement | Total suka, komentar, shares, dan cakupannya |
money | Budget, sisa dana, nominal dibayar, dan biaya layanan |
Baca Arti angka sebelum memakai angkanya untuk laporan.
curl https://api.wefluence.app/v1/campaigns/abc123/stats \
-H "Authorization: Bearer $WEFLUENCE_API_KEY"requests.get(f"{API}/campaigns/abc123/stats", headers=HEADERS).json()await (await fetch(`${API}/campaigns/abc123/stats`, { headers })).json();Respons
{
"object": "campaign_stats",
"campaign_id": "abc123",
"applicants": 195,
"content": {
"pending_review": 0,
"in_admin_moderation": 0,
"approved": 783,
"rejected": 26
},
"views": {
"verified_total": 1414148,
"by_platform": { "tiktok": { "views": 1414148 } }
},
"engagement": {
"likes": 18014,
"comments": 1224,
"shares": 1693,
"items_with_data": 587,
"items_counted": 800
},
"money": {
"currency": "IDR",
"budget": 5000000,
"remaining_budget": 0,
"paid_to_creators": 5000000,
"cost_per_1000_views": 3536,
"platform_fee": 750000,
"platform_fee_percent": 15
},
"as_of": "2026-11-02T09:00:00.000Z"
}