get_campaign_analytics
Retrieve historical push campaign delivery metrics and scheduled queue IDs to audit performance or locate campaign IDs before editing or canceling.
Instructions
Retrieve historical push campaign delivery metrics (delivered count, click count, CTR percentage, credits spent) and active scheduled queue items (cmp_sch_xxxx). Use this tool to audit campaign performance or look up scheduled campaign IDs before editing or canceling them with schedule_push_notification; do not use it to inspect QRIS payment invoices (use check_billing_and_qris_status instead) or subscriber device lists (use list_subscribers instead). Read-only operation requiring PUSHNOTIF_API_KEY with 0 credit cost; omitting app_id aggregates metrics across all workspace apps up to limit rows. Returns JSON { summary: { total_sent, total_clicks, avg_ctr_percent }, campaigns: [{ id, app_id, title, delivered_count, click_count, ctr_percent, created_at }], scheduled_queue: [{ id, app_id, title, scheduled_for, recurrence_rule, status }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of recent campaigns to return (1 to 50, default: 10) | |
| app_id | No | Optional application ID filter in format app_xxxx (omit to aggregate across all workspace apps) |