Docs › API Reference › Notification Service › POST /admin/notifications/broadcast
POST /admin/notifications/broadcast
Send notification messages to all users under a tenant or a specified user group, suitable for system maintenance notifications, security alerts, etc. Reference: CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance.
Notification Service `bearerAuth` application/json
Request Body
Schema: dto.BroadcastNotificationRequest
Field Type Required Example Constraints Description
content
string
Yes
The system will undergo maintenance tonight from 22:00 to 23:00
Content
title
string
Yes
System announcement
Title
type
string
No
system
Type
Referenced Schemas
dto.BroadcastNotificationDetailResponse
dto.BroadcastNotificationResponse
Broadcast notification response result
Field Type Required Example Constraints Description
broadcast_id
string
No
broadcast-1234567890
Broadcast ID
content
string
No
The system will undergo maintenance tonight from 22:00 to 23:00
Content
recipients
integer
No
100
Recipient count
title
string
No
System announcement
Title
type
string
No
system
Type
gitee_com_linmes_authms_base_dto.SimpleResponse
Field Type Required Example Constraints Description
code
integer
No
message
string
No
timestamp
string
No