PATCH
/
ticket
/
{ticketId}
/
conversation
/
{conversationId}
Update a conversation
curl --request PATCH \
  --url https://demo.enneo.ai/api/mind/ticket/{ticketId}/conversation/{conversationId} \
  --header 'Content-Type: application/json' \
  --data '{
  "content": {
    "message": "<string>"
  },
  "type": "text",
  "isDraft": true,
  "to": [
    "<string>"
  ],
  "cc": [
    "<string>"
  ],
  "bcc": [
    "<string>"
  ],
  "intentIds": [
    123
  ],
  "attachments": [
    {}
  ],
  "subchannelId": 123
}'
{
  "success": true
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Path Parameters

ticketId
integer
required

The ID of the ticket

conversationId
integer
required

The ID of the conversation to update

Body

application/json
content
object

Updated content

type
enum<string>

Content type

Available options:
text,
html
isDraft
boolean

Whether this is a draft (set to false to publish a draft)

to
string[]

Recipients email addresses (for drafts)

cc
string[]

CC email addresses (for drafts)

bcc
string[]

BCC email addresses (for drafts)

intentIds
integer[]

Array of intent IDs (for drafts)

attachments
object[]

File attachments (for drafts)

subchannelId
integer

Subchannel ID (for drafts)

Response

Successful operation

success
boolean