Audit App Store Server Notification delivery
reconcile_server_notificationsReport undelivered App Store Server Notifications (V2) using Apple's notification history. See counts by day, type, and failure reason to check for missed subscription webhook events.
Instructions
Report App Store Server Notifications (V2) that Apple could not deliver to your server, using Apple's notification history: counts by day, by notification type and by failure reason (TIMED_OUT, UNSUCCESSFUL_HTTP_RESPONSE_CODE, ...), with samples. Use for 'did our subscription webhook miss any Apple notifications?', 'check ASSN delivery for the last 7 days'. Report only: it never replays or changes anything. Needs an In-App Purchase key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days (production keeps 180, sandbox 30). | |
| scope | No | failures_only (fast) asks Apple only for failed or retrying sends; all scans every notification and adds a delivery rate. | failures_only |
| max_pages | No | Cap on 20-record pages to fetch. | |
| environment | No | App Store Server API environment. | production |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| pages | Yes | ||
| scope | Yes | all: every notification in the window; failures_only: Apple's onlyFailures filter. | |
| start | Yes | ||
| by_day | Yes | ||
| by_type | Yes | Undelivered count per notificationType. | |
| samples | No | ||
| scanned | Yes | ||
| delivered | Yes | ||
| next_step | Yes | ||
| truncated | Yes | True if max_pages stopped the scan early. | |
| environment | Yes | ||
| undelivered | Yes | ||
| window_days | Yes | ||
| delivery_rate | No | delivered / scanned, when scope is 'all'. | |
| replay_performed | No | Always false: this tool only reports. | |
| by_failure_reason | Yes | Undelivered count per last sendAttemptResult. |