Broker Messages
Fetch list of messages flashed by the broker for a specific tenant. Messages include subject, content, time, and type, and are paginated for easier access.
🛣️Path Parameter
| Parameter | Type | Description | Example/ENUM |
|---|
| tenantid | string | Unique identifier for tenant | "TENANT001" |
🔍Query Parameters
| Parameter | Type | Description | Example/ENUM |
|---|
| pageNo | integer | Page number for paginated result | 1 |
| pageSize | integer | Number of records per page | 10 |
| Header | Type | Description | Example/ENUM |
|---|
| Authorization | string | Bearer token used to authenticate request | Bearer {{access_token}} |
| Content-Type | string | Specifies media type of request body | application/json |
| x-api-key | string | API key assigned to access this endpoint | {{x-api-key}} |
🟢Success Response - 200 Ok
| Field | Type | Description | Example/ENUM |
|---|
| status | boolean | Status of API execution | true |
| result | array of object | List of broker messages | See details below |
📘Message Object Structure
| Field | Type | Description | Example/ENUM |
|---|
| MsgSrNo | integer | Unique message serial number | 1 |
| SendMsgTime | string | Timestamp when message was sent | "2025-06-08T10:30:00Z" |
| Subject | string | Title or subject of message | "test broker message" |
| Message | string | Full message body sent by broker | "broker message", |
| MsgType | integer | Type or category of message | 1 |