post
https://{yourinstance}.makaira.io/notifications
Creates a new notification visible to users of the current instance.
Requires authentication.
Request
POST /notifications
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
title | string or object | Yes | Notification title. Pass a string to apply to all languages, or an object with en/de keys for multilingual titles. |
message | string or object | Yes | Notification message body. Pass a string or multilingual object. |
Example Request (multilingual)
{
"title": {
"en": "Index rebuild complete",
"de": "Index-Neuaufbau abgeschlossen"
},
"message": {
"en": "The search index has been rebuilt successfully.",
"de": "Der Suchindex wurde erfolgreich neu aufgebaut."
}
}Example Request (single language)
{
"title": "Deployment finished",
"message": "The storefront deployment completed successfully."
}Response
Returns the created notification object.
Example Response
{
"id": 42,
"title": {
"en": "Index rebuild complete",
"de": "Index-Neuaufbau abgeschlossen"
},
"message": {
"en": "The search index has been rebuilt successfully.",
"de": "Der Suchindex wurde erfolgreich neu aufgebaut."
},
"read": false,
"createdAt": "2026-04-27T06:05:00Z"
} 200OK

