Skip to main content

Exchange Messages

Fetch exchange-specific messages filtered by tenant, segment, and recent hours. Supports pagination and delivers message content with timestamps.

🛣️Path Parameters

ParameterTypeDescriptionExample/ENUM
tenantidstringUnique Identifier of the tenant"TENANT001"
segmentIdstringExchange segment Identifier"NSE_EQ"

🔍Query Parameters

ParameterTypeDescriptionExample/ENUM
noofhrsintegerNumber of recent hours to filter messages1
pageNointegerPage number for paginated results1
pageSizeintegerNumber of records per page10

🔑Header Parameters

HeaderTypeDescriptionExample/ENUM
AuthorizationstringBearer token to authenticate the requestBearer{{access_token}}
Content-TypestringSpecifies media type of request bodyapplication/json
x-api-keystringAPI key provided for access{{x-api-key}}

🟢Success Response - 200 Ok

FieldTypeDescriptionExample/ENUM
statusbooleanStatus of API calltrue
resultarray of objectList of exchange messagesSee structure below

📨Message Object Structure

FieldTypeDescriptionExample/ENUM
SegmentIdintegerExchange segment Identifier (numeric)"1"
TimestringTimestamp of message"13:47:31"
MessagesstringMessage content from the exchange"CORPORATE ANNOUNCEMENTS\u0000\u000"
get/nontransactional/{tenantid}/v1/exchangeMessages/{segmentId}