Announcements
Create Announcement
Create a new announcement for the current tenant
POST
Documentation Index
Fetch the complete documentation index at: https://docs.urban-things.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Bearer token for authentication
The tenant ID to create the announcement for
Must be
application/jsonBody Parameters
The announcement title (max 255 characters)
Brief summary of the announcement (max 500 characters)
Detailed content of the announcement
Type of announcement. Must be one of:
info, warning, success, alertPriority level.
0 for normal, 1 for high priorityCurrent status. Must be one of:
draft, scheduled, published, archivedWhether to enable push notifications for this announcement
Whether the announcement is public
ISO timestamp when the announcement should be published (required if status is
scheduled)ISO timestamp when the announcement expires
Topic category (e.g., PROMOTIONS, SYSTEM, MAINTENANCE) - max 100 characters
Push Notification Parameters
Custom push notification title (max 100 characters)
Custom push notification message (max 200 characters)
Additional data to include in push notification payload
Push notification target type. Must be one of:
topic, all, usersTarget value based on target_type:
- For
topic: topic name - For
users: comma-separated user IDs - For
all: leave empty
Attachment Parameters
Type of attachment. Must be one of:
image, link, buttonURL of the attachment (must be valid URL if attachment_type is provided)
Additional metadata for the attachment
Response
Indicates if the request was successful
Success message
The created announcement object (same structure as in list response)