{ "opencollection": "1.0.0", "info": { "name": "Freshworks Freshcaller Accounts Messages API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Api-Auth", "value": "{{X-Api-Auth}}", "placement": "header" } }, "items": [ { "info": { "name": "Messages", "type": "folder" }, "items": [ { "info": { "name": "List messages in a conversation", "type": "http" }, "http": { "method": "GET", "url": "https://{domain}.freshcaller.com/api/v1/conversations/:conversation_id/messages", "params": [ { "name": "conversation_id", "value": "", "type": "path", "description": "The ID of the conversation." }, { "name": "page", "value": "", "type": "query", "description": "Page number for pagination." }, { "name": "items_per_page", "value": "", "type": "query", "description": "Number of items per page." } ] }, "docs": "Retrieves all messages within a specific conversation, ordered by creation time." }, { "info": { "name": "Send a message in a conversation", "type": "http" }, "http": { "method": "POST", "url": "https://{domain}.freshcaller.com/api/v1/conversations/:conversation_id/messages", "params": [ { "name": "conversation_id", "value": "", "type": "path", "description": "The ID of the conversation." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Sends a new message in an existing conversation. The message can be sent on behalf of an agent or the system." } ] } ], "bundled": true }