Começar Agora

Notifications Overview

LaunchKit provides a built-in notification system with two delivery channels: email and in-app (database). Notifications keep users informed about important events in their account and organization.

Channels

  • Email — sent via the configured mail driver (SMTP, Mailgun, Postmark, Resend, or SES). Uses customizable email templates managed from the admin panel.
  • In-App (Database) — stored in the notifications table and displayed in the frontend via the notifications dropdown.

Notification Classes

The system includes 11 notification classes, each targeting specific events:

  • WelcomeNotification
  • MfaStatusNotification
  • ApiKeyCreatedNotification
  • InvitationNotification
  • MemberJoinedNotification
  • PasswordChangedNotification
  • PaymentFailedNotification
  • SubscriptionActivatedNotification
  • SubscriptionCancelledNotification
  • GeneralNotification
  • MemberRemovedNotification

API Endpoints

List Notifications

GET /api/notifications

Returns a paginated list of the authenticated user's notifications.

Unread Count

GET /api/notifications/unread-count

Returns the number of unread notifications for the badge counter.

Mark All as Read

POST /api/notifications/read-all

Mark Single as Read

PATCH /api/notifications/{id}/read

Delete Notification

DELETE /api/notifications/{id}

Global Toggle

Notifications can be globally enabled or disabled from the admin panel:

  • Setting: notifications.enabledtrue or false
  • When disabled, no email or in-app notifications are sent system-wide