Create a broadcast
Creates a new broadcast. When a broadcast is created, it generates individual notifications for relevant users.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URLAuth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEYThe main title of the notification. Displayed prominently to the user.
The main message or body of the notification.
The action url. Deep link URL for action buttons.
A general grouping or category label for notifications, useful for organizing and filtering.
A more specific sub-label or theme related to the notification, such as a campaign name or feature tag.
The date and time at which the notification should be sent. If null, it will be sent immediately.
The request was successful.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
API call exceeded rate limit due to too many requests.
POST /api/v1/notifications HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 292
{
"type": "Segment",
"channel": "Unknown",
"title": "text",
"content": "text",
"actionURL": "https://example.com",
"category": "text",
"topic": "text",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"scheduledDate": "2025-11-04T16:17:04.235Z",
"conditions": [
{
"field": "text",
"operator": "Equal",
"value": "text"
}
]
}{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"id": "sApKpllz4sAplsmzha",
"title": "Title",
"type": "Segment",
"channel": "InApp",
"content": "Content",
"actionURL": "https://example.com/action",
"category": "Category",
"topic": "Topic",
"sentTime": "2025-09-19T11:20:20.4791628+07:00",
"seenAt": "2025-09-19T11:20:20.4791631+07:00",
"metadata": null,
"scheduledDate": null,
"status": "ReadEmailNotification",
"testMode": true
},
"errors": []
}Last updated
Was this helpful?