{ "opencollection": "1.0.0", "info": { "name": "Dixa Agents Messages API", "version": "beta" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Messages", "type": "folder" }, "items": [ { "info": { "name": "Anonymize message", "type": "http" }, "http": { "method": "PATCH", "url": "https://dev.dixa.io/beta/conversations/:conversationId/messages/:messageId/anonymize", "params": [ { "name": "conversationId", "value": "", "type": "path", "description": "the id of the conversation in which the message belongs" }, { "name": "messageId", "value": "", "type": "path", "description": "the id of the message to anonymize" } ] }, "docs": "Request the anonymization of a single message in a conversation." }, { "info": { "name": "List messages", "type": "http" }, "http": { "method": "GET", "url": "https://dev.dixa.io/beta/conversations/:conversationId/messages", "params": [ { "name": "conversationId", "value": "", "type": "path" } ] }, "docs": "Get all messages for a particular conversation by providing the conversation id. Note that messages in `ContactForm` conversations can have attributes of `\"_type\": \"EmailAttributes\"` if they are created through a webform, or `\"_type\": \"ContactFormAttributes\"` when created through a chat widget." }, { "info": { "name": "Add message", "type": "http" }, "http": { "method": "POST", "url": "https://dev.dixa.io/beta/conversations/:conversationId/messages", "params": [ { "name": "conversationId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add a message to a conversation. For inbound messages the author is assumed to be the requester of the conversation (end user). For outbound messages the author is specified using the agentId field.
If attachments are added to the message, they will be copied and stored in Dixa.
Content in outbound message is required except for Whatsapp messages.
Supported channels are Chat, Messenger, Contact Form, Email, Sms (outbound only), Whatsapp (outbound and Markdown only).

Suppor" } ] } ], "bundled": true }