Notifications API
Overview
Section titled “Overview”Track email opens and get delivery statistics.
Methods
Section titled “Methods”trackEmailOpen(params, options?)
Section titled “trackEmailOpen(params, options?)”Track email notification opens (used internally by tracking pixels).
await arky.notification.trackEmailOpen({ trackingPixelId: 'pixel-id'});Parameters:
trackingPixelId(string, required): Tracking pixel ID
getDeliveryStats(params, options?)
Section titled “getDeliveryStats(params, options?)”Get notification delivery statistics for the business.
const stats = await arky.notification.getDeliveryStats({});Response: Returns delivery statistics including sent, delivered, opened, and failed counts.
Endpoints
Section titled “Endpoints”- Track Email:
GET /v1/notifications/track/email/{tracking_pixel_id} - Delivery Stats:
GET /v1/notifications/track/stats/{business_id}
Authentication: Required for stats endpoint, public for tracking pixel