Skip to content

Notifications API

Track email opens and get delivery statistics.

Track email notification opens (used internally by tracking pixels).

await arky.notification.trackEmailOpen({
trackingPixelId: 'pixel-id'
});

Parameters:

  • trackingPixelId (string, required): Tracking pixel ID

Get notification delivery statistics for the business.

const stats = await arky.notification.getDeliveryStats({});

Response: Returns delivery statistics including sent, delivered, opened, and failed counts.

  • 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