Create
POST/api/usernotifications/createnotification
Tier: Public — stable, supported for third-party integration.
Creates a single in-app notification for a target user, optionally also emailing them. Raises SystemEventType.UserNotificationCreated. The target user id is not currently validated against the caller's organisation, so any authenticated principal can create a notification (and trigger an email) for a user in another organisation.
Request
Responses
- 200
- 400
The created notification, including its compiled email content. See UserNotifications.UserNotificationDetailDto.
The insert failed (no dedicated validation is performed beyond the underlying foreign-key check on the target user).