Conversations
createConversation - Create a new conversation
Changed onUse this API to initiate a new conversation with a customer on a marketplace. Returns an action identifier to track the asynchronous processing.
<div class="api-description-extension"> </div>post/conversations
Request
- Base URLhttps://miraklconnect.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body multipart/form-data
Example request
{
"conversation": {
"entity": {
"id": "0123_Order1-A"
},
"first_message": {
"body": "Hello! How can I assist you today?"
},
"topic": {
"value": "Customer has a general question about services."
}
}
}Response
Conversation creation initiated
Example response
{
"action_id": "abcd"
}Changes
- breaking
request property
//was restricted to a list of enum values - breaking
request property
//was restricted to a list of enum values - info
added the new
FREE_TEXTenum value to the request property// - info
added the new
ORDERenum value to the request property//
- breaking