Announcements
Create a notification
Changed onCreates a notification without an inbox rule: an announcement (kind: broadcast) for everyone in your organization, or a personal notification for a list of users.
Send a key to make retries safe: creating again with the same key answers 200 with the existing notification and creates nothing.
post/communications/notification
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/communications/notification
- AuthHTTP bearer
Request body
Example request
{
"kind": "broadcast",
"category": "platform.maintenance",
"title": "Scheduled maintenance on Saturday",
"body": "Deployments are paused from 06:00 to 08:00 UTC.",
"severity": "maintenance",
"nrn": "organization=1",
"recipients": {
"users": [
12345
]
},
"audience": {
"grants": [
"admin",
"developer"
]
},
"surfaces": [
{
"type": "banner",
"sections": [
"development"
],
"nrn": "organization=1:account=2",
"dismissible": true
}
],
"places": [
{
"channel": "slack",
"destination": {
"channel_id": "C0123456789",
"channel_name": "announcements"
}
}
],
"cta": {
"label": "See the status page",
"kind": "link",
"url": "https://status.example.com"
},
"media": {
"email": {
"subject": "Maintenance on Saturday"
}
},
"key": "acme.maintenance:2026-11-01",
"group_key": "acme.incident:inc-2031",
"publish_at": "2026-10-31T09:00:00Z",
"expires_at": "2026-11-01T08:00:00Z"
}Response
A notification with the same key already existed. It's returned unchanged.
Example response
{
"id": "6f1c2b9e-3a41-4f0e-9d55-2b7c1e0a9f13",
"organization_id": 1,
"kind": "broadcast",
"category": "platform.maintenance",
"severity": "maintenance",
"status": "open",
"nrn": "organization=1",
"title": "Scheduled maintenance on Saturday",
"surfaces": [
{
"type": "banner",
"sections": [
"development"
],
"dismissible": true
}
],
"publisher": "organization",
"created_by": 12345,
"created_at": "2026-10-27T14:03:11.000Z",
"updated_at": "2026-10-27T14:03:11.000Z"
}Changes
- info
endpoint added
- info