{ "opencollection": "1.0.0", "info": { "name": "Platform subpackage_chat API", "version": "1.0.0" }, "items": [ { "info": { "name": "subpackage_chat", "type": "folder" }, "items": [ { "info": { "name": "Get a chat", "type": "http" }, "http": { "method": "GET", "url": "https://api.synthflow.ai/v2/chat/:chat_id", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "chat_id", "value": "", "type": "path" } ] }, "docs": "Retrieve details of a specific chat session." }, { "info": { "name": "Create a chat", "type": "http" }, "http": { "method": "POST", "url": "https://api.synthflow.ai/v2/chat/:chat_id", "params": [ { "name": "chat_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new chat session with an agent." }, { "info": { "name": "Delete a chat", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.synthflow.ai/v2/chat/:chat_id", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "chat_id", "value": "", "type": "path" } ] }, "docs": "Delete a chat session." }, { "info": { "name": "List chats", "type": "http" }, "http": { "method": "GET", "url": "https://api.synthflow.ai/v2/chat", "headers": [ { "name": "Authorization", "value": "" } ], "params": [ { "name": "agent_id", "value": "", "type": "query", "description": "Filter chats by agent ID." }, { "name": "limit", "value": "", "type": "query", "description": "Limit the number of chats to return." }, { "name": "cursor", "value": "", "type": "query", "description": "Cursor to start from." } ] }, "docs": "Retrieve a list of chats, optionally filtered by agent ID." }, { "info": { "name": "Send a message in a chat", "type": "http" }, "http": { "method": "POST", "url": "https://api.synthflow.ai/v2/chat/:chat_id/messages", "params": [ { "name": "chat_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Send a message to an agent within an existing chat session." }, { "info": { "name": "Start an outbound chat conversation", "type": "http" }, "http": { "method": "POST", "url": "https://api.synthflow.ai/v2/chat/outbound", "headers": [ { "name": "Authorization", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new outbound WhatsApp or SMS conversation for a chat agent." } ] } ], "bundled": true }