PATCH
/
messages
/
{id}

Path Parameters

id
string
required

Message is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json
agent

Message is written by Agent

attachments
array

Message has Attachment

externalEmail
string

Message is with External Email

externalPhoneNumber
string

Message is with External Phone Number

id
string

Message is uniquely identified by id

internalEmail
string

Message is with Internal Email

internalPhoneNumber
string

Message is with Internal Phone Number

lead

Lead sends/receives chat- Message

salesRep

Sales Rep sends/receives Message

template

Message is filled in from Template

templateType
string

Message is autofilled by Template Type

text
string

Message has Message Text

Response

200 - application/json
data
object
success
boolean