Skip to main content
POST

Headers

string
required
Bearer token for authentication
string
required
The tenant ID to create the announcement for
string
required
Must be application/json

Body Parameters

string
required
The announcement title (max 255 characters)
string
Brief summary of the announcement (max 500 characters)
string
Detailed content of the announcement
string
required
Type of announcement. Must be one of: info, warning, success, alert
integer
default:"0"
Priority level. 0 for normal, 1 for high priority
string
required
Current status. Must be one of: draft, scheduled, published, archived
boolean
default:"false"
Whether to enable push notifications for this announcement
boolean
default:"false"
Whether the announcement is public
string
ISO timestamp when the announcement should be published (required if status is scheduled)
string
ISO timestamp when the announcement expires
string
Topic category (e.g., PROMOTIONS, SYSTEM, MAINTENANCE) - max 100 characters

Push Notification Parameters

string
Custom push notification title (max 100 characters)
string
Custom push notification message (max 200 characters)
object
Additional data to include in push notification payload
string
default:"all"
Push notification target type. Must be one of: topic, all, users
string
Target value based on target_type:
  • For topic: topic name
  • For users: comma-separated user IDs
  • For all: leave empty

Attachment Parameters

string
Type of attachment. Must be one of: image, link, button
string
URL of the attachment (must be valid URL if attachment_type is provided)
object
Additional metadata for the attachment

Response

boolean
Indicates if the request was successful
string
Success message
object
The created announcement object (same structure as in list response)