{ "opencollection": "1.0.0", "info": { "name": "Workato Agent Studio Data Tables Messages API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Messages", "type": "folder" }, "items": [ { "info": { "name": "Workato Consume Messages from a Topic", "type": "http" }, "http": { "method": "POST", "url": "https://www.workato.com/api/v1/topics/:topic_id/consume", "params": [ { "name": "topic_id", "value": "", "type": "path", "description": "Unique integer identifier of the event topic." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Retrieves messages from an event topic. Supports filtering by message ID or timestamp, configurable batch sizes up to 50, and long polling with timeouts up to 60 seconds. Returns at most 50 messages per request." }, { "info": { "name": "Workato Publish a Message to a Topic", "type": "http" }, "http": { "method": "POST", "url": "https://www.workato.com/api/v1/topics/:topic_id/publish", "params": [ { "name": "topic_id", "value": "", "type": "path", "description": "Unique integer identifier of the event topic." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Publishes a single message to an event topic. The message payload must conform to the topic's defined schema. Maximum payload size is 1 MB." }, { "info": { "name": "Workato Publish a Batch of Messages to a Topic", "type": "http" }, "http": { "method": "POST", "url": "https://www.workato.com/api/v1/batch/topics/:topic_id/publish", "params": [ { "name": "topic_id", "value": "", "type": "path", "description": "Unique integer identifier of the event topic." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Publishes multiple messages to an event topic in a single request. Supports up to 100 messages per batch. Each payload must conform to the topic's schema. Partial failures are indicated in the response." } ] } ], "bundled": true }